Otto Cycle - PV Diagram
Objective: clear all close all clc %inputs gamma=1.4 t3=2300 %State Variables at state point 1 p1=101325 %as 1 atm t1=500 %In K %Engine Geometric Parameters bore=0.1; %bore dia stroke=0.1; %stroke length con_rod=0.15; %coneecting rod length cr=12; %compression ratio %calculating the swept volume and the clearance volume v_swept=(pi/4)*bore^2*stroke;…