Creating a PV plot for Otto cycle
Pressure vs Volume Plot
1. Image link
https://drive.google.com/file/d/1NiqsCFAycxkpRrntidu-fis6nLVJsLvA/view?usp=sharing
2. Matlab link
https://drive.google.com/file/d/1RhRaVo0R-ZZgPQiBcFGdbKtQR4uO5xjF/view?usp=sharing

The above plot shows the working process of an otto (petrol engine) cylce which contains 4 processes, namely :-
process 1-2 is an isentropic compression process (entropy remains constant) where in the air fuel mixture is compressed upto the point where the mixture reaches the point of ignition temperature and as a result
process 2-3 spark is ignited and the mixture is burnt called as constant volume heat addition process and as a result
process 3-4 Isentropic expansion process takes place due to the combustion of the burnt mixture
process 4-1 is a heat rejection process.