Plot a p-v diagram and find the thermal efficiency of otto cycle using MATLAB
Objective: Aim- Write a code in Matlab to plot a p-v diagram and solve the thermal efficiency of an otto cycle. Objective- (a) To write a Matlab code to plot a graph b/w pressure and volume of the otto cycle. (b) Find the thermal efficiency of an otto cycle. Theory- (a) Otto Cycle- An Otto cycle is a cycle that is…