Question: Write a MATLAB code using the Modified Regula Falsi for the equations below. Please show the answers for 1-5. Find the temperature (in degrees Celsius)

Write a MATLAB code using the Modified Regula Falsi for the equations below. Please show the answers for 1-5. Write a MATLAB code using the Modified Regula Falsi for the equations

Find the temperature (in degrees Celsius) of methane (CH.) at a pressure p 101.3 kPa and specific volume v 0.54997 /kg using the Lee-Kesler equation of state. Solve the equa tion using your Modified Regula Falsi program. The Lee-Kesler geoelizn equaten of ate a nbich The set ef contants ia as foow Simple Fluids 0118 1193 0265 728 0154 7 030 323 023 6744 0018 6984 Censtaat Coastant 0042 724 0 155 488 0 623 689 653 92 060 167 Note that 1) T, P and vf are dimensionless. Absolute pressures and temperatures must be used (KC +273.15) 2) The gas constant R # R/M where the universal gas constant R-831434 kJ/kmol."K and the molecular weight of methane s M # 16.0425 kg kmol 3) The critical constants for methane are 4.5992 MPa and Tc #-82.590. Please submit the following 1) A plot which shows the location all real roots T, of the equation for the givern values of p and v 2) A flow chart of the Modified Regula Falsi algorithm. 3) A listing of your Matlab main program and all function programs used 4) Printed output from your program showing the appropriate root T, computed to an accuracy of at least 8 significant figures. 5) The calculated value of the temperature T (in degrees Celsius) using the Lee- Kesler equation of state, the ideal gas equation of state, and the relative error of each based on the value reported in methane property tables (-161.45 C). Present at least 5 significant figures in your results. Find the temperature (in degrees Celsius) of methane (CH.) at a pressure p 101.3 kPa and specific volume v 0.54997 /kg using the Lee-Kesler equation of state. Solve the equa tion using your Modified Regula Falsi program. The Lee-Kesler geoelizn equaten of ate a nbich The set ef contants ia as foow Simple Fluids 0118 1193 0265 728 0154 7 030 323 023 6744 0018 6984 Censtaat Coastant 0042 724 0 155 488 0 623 689 653 92 060 167 Note that 1) T, P and vf are dimensionless. Absolute pressures and temperatures must be used (KC +273.15) 2) The gas constant R # R/M where the universal gas constant R-831434 kJ/kmol."K and the molecular weight of methane s M # 16.0425 kg kmol 3) The critical constants for methane are 4.5992 MPa and Tc #-82.590. Please submit the following 1) A plot which shows the location all real roots T, of the equation for the givern values of p and v 2) A flow chart of the Modified Regula Falsi algorithm. 3) A listing of your Matlab main program and all function programs used 4) Printed output from your program showing the appropriate root T, computed to an accuracy of at least 8 significant figures. 5) The calculated value of the temperature T (in degrees Celsius) using the Lee- Kesler equation of state, the ideal gas equation of state, and the relative error of each based on the value reported in methane property tables (-161.45 C). Present at least 5 significant figures in your results

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!