Otto cycle and thermal efficiency output.
Objective: clear all close all clc % input gamma= 1.4; t3 = 2000; % state variable at state point 1 p1= 10135; t1= 500; % geomatric prameters bore= 0.1; stroke= 0.1; cam_rod= .15; cr= 12; % calculation of swept volume and clearance volume v_swept = (pi/4)*bore^2*stroke; v_clearance= v_swept/(cr-1); v1 = v_swept+ v_clearancev2 = v_clearance…