Air standard Cycle-otto cycle
Objective: I plotted PV diagaram for Otto cycle and also i find the thermal efficiency of the engine using matlab. % program for otto cycle clear all close all clc % inputs gamma=1.4; t3=2300; % state variables 1 p1 = 101325 t1 = 500; % Engne Geometric Parameters bore = 0.1; stroke = 0.1; con_rod = 0.15; cr = 12; % Calculating…