Otto Cycle- PV diagram and thermal efficiency
Objective: \"\"\" ENGINE KINEMATICS \"\"\" import math import matplotlib.pyplot as plt def engine_kinematics(bore, stroke, con_rod, cr, start_crank, end_crank, V_c): # Geometric parameters a = stroke / 2 # crank pin radius R = con_rod / a # Volume parameters #V_s = (math.pi / 4) * pow(bore, 2) * stroke #V_c = V_s / (cr - 1) num_values…