AIR STANDARD CYCLE (PV diagram visualizer) Using MATLAB
Objective: Objective: To write code for the PV diagram of an Air Standard Cycle (Otto Cycle) and calculate the thermal efficiency of the engine. Code: code for PV diagram and thermal efficiency. clear all close all clc %Inputs gamma = 1.4; %for air t3 = 2300; %state variables at state 1 p1 = 101325; %1-atm in pascals t1 =…