Code that can solve an otto cycle and make plots
Objective: Otto cycle: automobiles The Otto cycle is the name for the cycle used in spark-ignition internal combustion engines such as gasoline and hydrogen fuelled automobile engines. Its theoretical efficiency depends on the compression ratio r of the engine and the specific heat ratio γ of the gas in the combustion chamber.Thus,…