Otto Cycle Efficiency and Plot
Objective: %{Program to plot otto-cycle state pointscreated: 06/06/2018updated: 11/06/2018%}clcclear allclose all %inputs gamma = 1.4;t3 =2300; %state variables at point 1p1 = 101325; %in (Pa)scalt1 = 500; %in (K)elvin %engine geometrical parameterbore = 0.1;stroke = 0.2;con_rod = 0.3;cr = 12; %v1/v2 % calculating swept and clearance…