Otto Cycle Representation
Objective: close all clear all clc %inputs gamma = 1.4; %inputs p1 = 101325; t1 = 500; t3 = 2300; %engine inputs bore = 0.1; stroke = 0.1; con_rod = 0.15; cr = 12; v_swept = (pi*bore^2*stroke)/4; v_clearance = v_swept/(cr-1); v1 = v_swept + v_clearance; C = p1*v1^gamma; V_compression = engine_kinematics(bore,stroke,con_rod,cr,180,0);…