Otto cycle
Objective: \'\'\' otto cycle simulator \'\'\' import math import matplotlib.pyplot as plt def engine_kinematics(bore, stroke, con_rod, cr, start_crank, end_crank): #geomatric parameters a=stroke/2 R=con_rod/a #volume parameters v_s=math.pi*(1/4)*pow(bore,2)*stroke v_c=v_s/(cr-1) sc=math.radians(start_crank) ec=math.radians(end_crank)…