Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Need MATLAB code for Tasks 1 Please!!! Project Introduction and Theory The ideal gas equation has been widely used to relate Temperature, Pressure and Volume

image text in transcribedimage text in transcribedimage text in transcribed

image text in transcribed

Need MATLAB code for Tasks 1 Please!!!

Project Introduction and Theory The ideal gas equation has been widely used to relate Temperature, Pressure and Volume of Gases. The equation can be written as', RT Where, V Molar volume of gas, R - Gas constant, T-Temperature, and P Gas pressure. There are several other equations that characterize gas better than the Ideal Gas equation, like the van der Waals equation. This equation, however, is not as accurate for temperatures above the critical temperature, so equations like the Redlich-Kwong (RK) equation of state would generally be used at higher temperatures. The RK equation is shown below RT Where, r2r2.5 Pc RTc a-0.42748 b 0.08664-re In Equations 2 and 3, Tc is the critical temperature and Pc is the critical pressure Tasks Task 1: Approximate root location detection Let's assume the gas is being heated. Increasing the temperature will increase the volume (i.e. as heat increases, gas expands). As no external pressure is being added, consider it as 1 atm for now As gas expands, one can measure the volume, therefore, molar volume of gas can be calculated at any moment, but the temperature is unknown. For this task, you need to determine temperature T at P = 1tm and given Kn using a graphical approach. The steps to follow are listed below: i. Rewrite the equation 1 for root finding, RT ii Use Equations 2 and 3 to determine a and b. Values for Te and Pe for your given gas can be found in Table Determine the value of T for which f (T) is approximately 0 using Graphical approach iii. Table 1. Gas Information Gas name Critical temperature, Critical pressure, P Molar volume, Vm Argon 150.8 K 48.1 atm 0.03 m3/mol Bromine 584.0 K 102 atm 0.06 m3/mol Chlorine 416.9 K 76.0 atm 0.05 m3/mol Fluorine 144.30 K 51.5 atnm 0.03 m3/mol Helium 5.19 K 2.24 atm 0.01 m3/mol Hydrogen 33.20 K 12.8 atm 0.01 m3/mol Krypton 209.3 K 54.3 atm 0.02 m3/mol Neon 44.40 K 27.2 atm 0.03 m3/mol Nitrogen 126.2 K 33.5 atm 0.03 m3/mol Oxygen 154.6 K 49.8 atm 0.03 m3/mol 72.8 atm 0.04 m3/mol Carbon dioxide (CO2) 304.19 K Nitrous oxide (N20) 309.5 K 71.5 atm 0.03 m3/mol Xenon 289.8 K 57.6 atm 0.03 m3/mol Gold 7250 K 5000 atnm Project Introduction and Theory The ideal gas equation has been widely used to relate Temperature, Pressure and Volume of Gases. The equation can be written as', RT Where, V Molar volume of gas, R - Gas constant, T-Temperature, and P Gas pressure. There are several other equations that characterize gas better than the Ideal Gas equation, like the van der Waals equation. This equation, however, is not as accurate for temperatures above the critical temperature, so equations like the Redlich-Kwong (RK) equation of state would generally be used at higher temperatures. The RK equation is shown below RT Where, r2r2.5 Pc RTc a-0.42748 b 0.08664-re In Equations 2 and 3, Tc is the critical temperature and Pc is the critical pressure Tasks Task 1: Approximate root location detection Let's assume the gas is being heated. Increasing the temperature will increase the volume (i.e. as heat increases, gas expands). As no external pressure is being added, consider it as 1 atm for now As gas expands, one can measure the volume, therefore, molar volume of gas can be calculated at any moment, but the temperature is unknown. For this task, you need to determine temperature T at P = 1tm and given Kn using a graphical approach. The steps to follow are listed below: i. Rewrite the equation 1 for root finding, RT ii Use Equations 2 and 3 to determine a and b. Values for Te and Pe for your given gas can be found in Table Determine the value of T for which f (T) is approximately 0 using Graphical approach iii. Table 1. Gas Information Gas name Critical temperature, Critical pressure, P Molar volume, Vm Argon 150.8 K 48.1 atm 0.03 m3/mol Bromine 584.0 K 102 atm 0.06 m3/mol Chlorine 416.9 K 76.0 atm 0.05 m3/mol Fluorine 144.30 K 51.5 atnm 0.03 m3/mol Helium 5.19 K 2.24 atm 0.01 m3/mol Hydrogen 33.20 K 12.8 atm 0.01 m3/mol Krypton 209.3 K 54.3 atm 0.02 m3/mol Neon 44.40 K 27.2 atm 0.03 m3/mol Nitrogen 126.2 K 33.5 atm 0.03 m3/mol Oxygen 154.6 K 49.8 atm 0.03 m3/mol 72.8 atm 0.04 m3/mol Carbon dioxide (CO2) 304.19 K Nitrous oxide (N20) 309.5 K 71.5 atm 0.03 m3/mol Xenon 289.8 K 57.6 atm 0.03 m3/mol Gold 7250 K 5000 atnm

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions