Otto Cycle project
Objective: clear all;close all;clc;%Inputsgamma=1.4;t3=2300; %assuming at the end of heat addition process the temp is 2300K %Engine geometric dimensionsbore=0.096; %Bore in metersstroke=0.083; %Stroke in meterscr=9; %Compression ratio of gasoline enginecon_rod=0.144; %State Variablesp1=1.01325; %pressure @ state1 in Bart1=500; %temperature…