Coding PV-Plot of an Otto Cycle and Calculating the Thermal Efficiency
Objective: A code in MatLab to plot the PV Diagram and Thermal Efficiency of an Otto Cycle. Explanations are given in the comments following the code parts. The relationship between the crank-angle and Volume-traced is used in the code to derive the adiabatic curves. Thermal Efficiency has been calculated by the general otto…