Rankine cycle simulator
Objective: close all clear all clc disp(\'1-2 is Isentropic Expansion in the Turbine\') disp(\'2-3 is Constant Pressure Heat Rejection by the Condenser\') disp(\'3-4 is Isentropic Compression in the Pump\') disp(\'4-1 is Constant Pressure Heat Addition by the Boiler\') disp(\' \') p1=input(\'Enter the Pressure at the Turbine Inlet…