project on OTTO cycle simulator
Objective: \"\"\" OTTO CYCLE SIMULATOR \"\"\" import math import matplotlib.pyplot as plt def engine_kinematics(bore, stroke, con_rod, cr, start_crank, end_crank): a = stroke/2 #crank pin radius 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)…