Computation of P-V plot diagram of an Otto Cycle using Python
Objective: Following is a Python code to determine the engine piston kinematics and to find the characteristics of its respective Otto cycle and subsequently plot the Otto cycle P-V diagram. # Otto Cycle import math import matplotlib.pyplot as plt def engine_kinematics(bore,stroke,con_rod,cr,start_crank,end_crank): # Geometric…