Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can you please answer the following question using a MATLab function M-File and please implement the Newton-Raphson algorithm to do this. 3. Experiment 3.1. Required
Can you please answer the following question using a MATLab function M-File and please implement the Newton-Raphson algorithm to do this.
3. Experiment 3.1. Required problem Problem there is essentially no interaction between atoms and molecules. Van der Waals' equation comprises a more accurate relationship for real gases. It takes the form Clapevron's ideal gas law, as the name suggests, holds for ideal gases only where 17 Values for parameters a and b are widely available for a variety of substances. Find the appropriate values for Carbon Dioxide gas (CO2). In these equations R is the ideal gas constant, p is the pressure, T is the temperature and v is the molar volume, i.e. the volume occupied by 1 mole of the gas at the given pressure and temperature. By implementing either the Regula-Falsi or the Newton Raphson algorithms develop a MATLAB function m-file to find the molar volume (in L/mol) of Carbon Dioxide (C02) at a temperature of 293 K for pressures of 1 atm, 1.5 atm, 2 atm, 2.5 atm, 3 atm, 5 atm, 10 atm, 15, atm, 25 atm, 50 atm and 100 atm. Compare these predictions with those of the ideal gas law: PvRT. You may find a numerical value for the ideal gas constant R on the internet, but be careful with units 9 grade steps) You should make this comparison using good visualisation. For example plot the ideal molal volume and the calculated more realistic molar volume on the same axes using the hold on command. You should also undertake to avoid the inclusion of obvious machine artefactStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started