Otto Cycle
Objective: bore=0.3; %bore diameter stroke=0.3; %stroke length made by piston or diameter made by crank conrod=1; %connnecting rod length cr=15; %compression ratio g=1.4; %gamma of air p1=101325; %pressure at BDC during intake stroke t1=500; %temperature in kelvin at BDC during intake stroke t3=2300; %temperature in kelvin at TDC…