Solving Otto Cycle using Matlab
Objective: Otto cycle consists of isentropic compression, heat addition at constant volume, isentropic expansion, and rejection of heat at constant volume. This project will demonstrate how the volume varies with pressure. This code was used for Octave % Defining a function for volume function [V] = piston_kinematics(stroke,bore,cr,con_rod,start_crank,end_crank)…