PV diagram of air standard cycle
Objective: In this project, I have written code for calculating the efficiency of otto cycle and plotting PV graph of the cycle. Calling a function (piston kinematics): %Determinining a function function [V] = engine_kinematics(bore, stroke, con_rod, cr, start_crank, end_crank) %Data a = stroke/2; R = con_rod/a; theta = linspace(start_crank,…