2. Otto Cycle PV Diagram and thermal efficiency of engine
Objective: % Challenge Week 2 - Otto Cycle PV Diagram and thermal efficiency of engine clear all close all clc %iinputs gamma = 1.4; % state variables P1 = 101325; T1 = 500; T3 = 2300; % assumed % engine geometric parameters bore = 0.1; stroke = 0.1; conn_rod = 0.15; cr = 12; a = stroke/2; % crank pin radius R = conn_rod/a; % swept…