Plotting P vs V dig, of Otto cycle as per user defined paramters
Objective: This MATLAB program is written to plot Pressure vs Volume dig. for Otto Cycle. The program takes geomteric and thermodynamic data as input from the user and feeds it to the program. The program begins with code lines to clear the memory. Then the input data is taken using input() function and assigning the input to specific…