Otto Cycle Air Standard Cycle
Objective: close allclear allclc %Inputs gamma = 1.4;t3 = 2300; %State Variablesp1 = 101325; % 1 Atmt1 = 500; %Engine Geometric Parametersbore = 0.1;stroke = 0.1;con_rod = 0.15;cr = 12; %Calculating the swept_volume and the clearance_volume v_swept = (pi/4)*bore^2*stroke;v_clearance = v_swept/(cr-1); v1 = v_swept + v_clearance;v2…