Air standard cycle Otto Cycle in Python
Objective: Python program to display PV diagram of OTTO CYCLE/ Air Standard Cycle # Otto Cycle import matplotlib.pyplot as plt import math as m import numpy as np # Inputs gamma = 1.4 t3 = 2250 # State variables at Stage 1 p1 = 101325 t1 = 600 # Engine geometric parameters bore = 0.25 stroke = 0.25 con_rod = 0.2 cr = 12 def engine_kinematics(bore,stroke,con_rod,cr,start_crank,end_crank):…