Building an otto cycle simulator
Objective: Introduction Building an otto cycle simulator for plotting P-V graph and calculating the efficiency. A petrol engine or a spark ignition engine runs on an otto cycle. The motto is the make a general code for otto cycle. Below is how a otto cycle looks and its processes. P-V diagram of an otto cycle(fig:1) Python code explained…