Question: Using GAMS (as a programming language) solve for V the following van der Waals equation of state for ammonia at 10 atm and 250C by
Using GAMS (as a programming language) solve for V the following van der Waals equation of state for ammonia at 10 atm and 250C by using Secant Method where two initial guesses for V are 2.50 and 2.51.
(P + a/V^2) (V b) = RT
a = (27/64) (R^2Tc^2/Pc)
b = RTc/(8Pc)
Given:R=0.08206 atm l K^-1 mol^-1,P=10atm,T=523K,Tc =407.5K,Pc =111.3atm,a=4.238448,b= 0.037556.
Provide the formulation of the problem and progress of the iterations in the report. Also upload the GAMS (.gms and .lst) files.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
