P-V chracteristcs of an otto cycle
Objective: THE MAIN CODE clear all close all clc %isentropic constant gamma = 1.4 ; % Defining the provided state variables p1 = 101305 ; t1 = 303 ; t3 = 2500 ; % defining the engine parameters bore = 0.1 ; stroke = 0.1 ; c_rod = 2 ; cr = 11 ; %calculating the volumes v_s = pi/4 * bore^2 * stroke ; v_c = v_s / (cr - 1) ; %…