PV diagram and thermal efficiency of Otto Cycle using MATLAB
Objective: Objective:- To write a code in MATLAB to plot the PV diagram for Otto cycle and calculating the thermal efficiency of the same. Theory:- Otto cycle is the thermodynamic cycle which forms the basis for the working for spark ignition engines. The processes involved in the cycle is described in the below figures. Inputs:-…