Otto Cycle using MATLAB
Objective: Objective: Plotting PV diagram and calculating thermal efficiency of an Otto cycle. Given Data: Bore, stroke, connecting rod length, pressure, and temperature at point 1, the temperature at point 3, compression ratio, adiabatic index. MATLAB Code: clear all close all clc % Inputs bore = 0.1; stroke = 0.1; con_rod = 0.15;…