RANKINE CYCLE SIMULATOR
Objective: % RANKINE SIMULATORprompt=\' RANKINE SIMULATOR\\n\\n1-2 is Isentropic Expansion in the turbine.\\n2-3 is Constant Pressure Heat Rejection by condensor\\n3-4 is Isentropic Compression in the pump\\n4-1 Constant Pressure Heat Addition by boiler\\nEnter the pressure at inlet of turbine(MPa):\';p1=input(prompt);prompt=\'Enter…