OTTO CYCLE SIMULATOR
Objective: #program to simulate an air standard cycle import math import matplotlib.pyplot as plt def engine_kinematics(bore,stroke,con_rod,cr,start_crank,end_crank): #start and end crank are the angle made by the crank when they reach TDC #and BDC #calculating swept and clearance volume v_swept=math.pi*(1/4)*pow(bore,2)*stroke v_clearance=v_swept/(cr-1)…