Week 2 Air standard Cycle
Objective: AIM: To determine the PV diagram and Thermal Efficiency of the engine.CODING:close allclear allclc%input parametersgama = 1.4%engine paramatersbore = 0.1stroke = 0.1con_rod = 0.15cr = 12a = stroke/2r = con_rod/a%calculation of swept volume and clearance volume v_swept = (pi/4)*bore^2*stroke;v_clearance = v_swept/(cr-1);%state…