Write a Python code to solve the problem. You must utilize Sympy, Numpy and Pandas to solve the problem. All Thermodynamics tables must be converted into a .csv or .xlxs file to be read using Pandas. Input data can either be inserted using prompt or read from .csv or .xlsx file.please assist to write phyton code for thermodynamics problems , example given below input can be inserted by prompt or from csv file , answer will then saved in a csv file
1. Steam enters a nozzle at 400'C and 800 kPa with a velocity of 10 m/s, and leaves at 375C and
400 kPa while losing heat at a rate of 25 kW. For an inlet area of 800 cm2, determine the
velocity and the volume flow rate of the steam at the nozzle exit.
400C 800 kPa 10 m/s
375C 400 kPa
Steam
2. Refrigerant-134a at 1 MPa and 90'C is to be cooled to 1 MPa and 30'C in a condenser by air. The air enters at 100 kPa and 27C with a volume flow rate of 600 m3 /min and leaves at 95 kPa and 6o'c.Determine the mass flow rate of the refrigerant.
Air
V = 600 m3/min P=1O0 kPa T=27C
R-134a
P=1 MPa T=90C
l P4=95 kPa T4=60C
P= 1 MPa T=30C