An idealized thermodynamic Otto cycle is plotted on a PV diagram and thermal efficiency of the engine is evaluated
Objective: #Importing modules import math import matplotlib.pyplot as plt def engine_kinematics (bore,stroke,con_rod,cr,crank_start,crank_end): \"\"\"Engine Kinematics\"\"\" #Geometric parameters a= stroke/2 R=con_rod/a #Volume computation v_s= (math.pi/4)*pow(bore,2)*stroke v_c= v_s/(cr-1) V=[] sc = math.radians(crank_start) ec…