Air standard cycle - PV Diagram Visualizer
Objective: % Inputs gamma = 1.4 t3 = 2300 % Engine geometric parameters bore = 0.2; stroke = 0.1; con_rod = 0.12; cr = 15; % First state point variables p1 = 101325 t1 = 500 % Calculating swept and clearance volume v_swept = (pi/4)*bore^2*stroke; v_clearance = v_swept/(cr-1); v1 = v_swept+v_clearance v2 = v_clearance % Second state…