Python Program to simulate Air standard cycle
Objective: import math import matplotlib.pyplot as plt def engine_kinematics(bore, stroke, con_rod, cr, start_crank, end_crank): #GEOMETRIC PARAMETERS a = stroke/2 R = con_rod/a #VOLUME PARAMETERS Vs = math.pi*(1/4)*pow(bore,2)*stroke Vc = Vs/(cr - 1) sc = math.radians(start_crank) ec = math.radians(end_crank) num_values = 50 dtheta…