Plot the PV diagram for otto cycle for given data and calculate thermal efficiency of otto cycle using Python code
Objective: Aim: Calculate the thermal efficiency of otto cycle and plot it\'s PV diagram in python Code in Python: # Engine Kinematics & Otto cycle python code import math import matplotlib.pyplot as plt import numpy as np # Geometric parameters bore=0.1 stroke=0.1 cr=12 con_rod=0.15 crank_pin_radius=stroke/2 a=crank_pin_radius…