Otto Cycle with python programing
Objective: I have considered the problem where the initial pressure is given to be 0.1MPa and temperature at 308K. The compression ratio is 8 and the heat input during compression is 2100kJ/kg. The problem can be modified according to the input provided to the system by just interchanging the equations. import math import matplotlib.pyplot…