#include<iostream>
#include<string>
#include<math.h>
#include<graphic.h>
#include<vector>
using namespace std;
const double R =0.002;
class Gas{
public:
double ia;
double ir;
Gas (double aA,double aB);
};
class VanDerWaalCalculator{
public:
Gas iGas;
float iVolume[100];
float iPressure[100];
float iTempreature;
float iNumberofMoles;
float iNumberofPoints;
VanDerWaalCalculator(){
};
VanDerWaalCalculator(Gas aGas,double aMinimumVolume, double
aMaximumvolume,double eTempreature,double aNumberofMoles,int
aNumberofpoints){
iGas=aGas;
aMinimumVolume=0;
aMaximumvolume=0;
eTempreature=0;
aNumberofMoles=0;
// P+(an^2/v^2)(V-bn)=nRT VanderWaals Formula
void generatepressure(){//genertae pressure
int bik;
n=(aGas+(pow(aMinimumVolume,2)/pow(aMaximumvolume,2))(eTempreature-aNumberofpoints))/aNumberofMoles;
cout<<"The Value is "<<bik;
}
}
void draw(vector<int> adj[], int I, int M){
adj[I].push_back(I);
adj[M].push_back(M);
for (int k = 0; I < K; ++K)
{
cout << "The Venderwall graph"<<endl;
cout<<I << ;
};
int main(){
Gas Oxygen (0.027,0.0014);
int numberOfPoints=100;
float minimumVolume=1;
float maximumValue=10;
float Tempreature=200;
float numberOfMoles=1;
VanDerWaalCalculator(Oxygen,minimumVolume,maximumValue,Tempreature,numberOfMoles);
VDW.generatepressure();
VDW.draw();
}
This code will run more perfectly and fastly onActive X and on Atom


COMMENT DOWN FOR ANY QUERIES AND,
LEAVE A THUMBS UP IF THIS ANSWER HELPS YOU.
use c++ A particularly simple sbstraction of a gas views the gas as a material witha...
program in C++ using DISLIN.
(20) A particularly simple abstraction of a gas views the gas as a material with a pressure dcpendent volume. In this abstraction, the actual chemical composition of the gas is unimportant as only its physical peoperties are of practical interest. Develop a class that implements a physical abstraction of a gas in which the only relevant properties are its Van der Waals constants a and b and the problem is to number of moles, ....
The van der Waals equation gives a relationship between the pressure p (atm), volume V(L), and temperature T(K) for a real gas: .2 where n is the number of moles, R 0.08206(L atm)(mol K) is the gas con- stant, and a (L- atm/mol-) and b (L/mol) are material constants. Determine the volume of 1.5 mol of nitrogen (a .39 L2 atm/mol2. b = 0.03913 L/mol) at temperature of 350 K and pressure of 70 atm.
The van der Waals equation...
Use the van der Waals equation of state to calculate the pressure of 2.40 mol of H2S at 499K in a 4.60 L vessel. Van der Waals constants can be found in the van der Waals constants table. Use the ideal gas equation to calculate the pressure under the same conditions. In a 16.30 L vessel, the pressure of 2.40 mol of H2S at 499 K is 6.03 atm when calculated using the ideal gas equation and 5.97 atm when calculated using the...
Give the gas you are assigned here And give your temperature and pressure And the number of moles Calculate volume of your gas assuming it is ideal. Now calculate volume of your gas assuming it follows the van der Waals equation and using your gas's van der Waals constants from fable 5.4 on page 237 of the textbook.
12 This question explores the energy transfer during the reversible isothermal expansion of a van-der-Waals gas. a) The equation of state of the van-der-Waals gas is 141 where Vm is the molar volume. Explain the significance of the constants a and b giving a physical interpretation of both by comparing the equation given with the equation of state of the ideal gas. b) Re-arrange the equation of state given above to produce a formula for the pressure [3] as a...
Use the van der Waals equation of state to calculate the pressure of 2.10 mol of Kr at 471 K in a 3.70L vessel. Van der Waals constants can be found in this table. Number P- 2.004 atm Use the ideal gas equation to calculate the pressure under the same conditions. Number P= 21.947 atm In a 15.5 L vessel, the pressure of 2.10 mol of Kr at 471 K is 5.24 atm when calculated using the ideal gas equation...
Use the van der Waals equation and the ideal gas equation to calculate the volume of 1.000 mol of neon at a pressure of 500.0 bar and a temperature of 355.0 K. (Hint: One way to solve the van der Waals equation for V is to use successive approximations. Use the ideal gas law to get a preliminary estimate for V ITS 500BAR use bar please not ATM
12.0 moles of gas are in a 3.00L tank at 23.1?C . Calculate the difference in pressure between methane and an ideal gas under these conditions. The van der Waals constants for methane are a=2.300L2?atm/mol2 and b=0.0430 L/mol.
15.0 moles of gas are in a 8.00 L tank at 24.6 ∘C . Calculate the difference in pressure between methane and an ideal gas under these conditions. The van der Waals constants for methane are a=2.300L2⋅atm/mol2 and b=0.0430 L/mol.
14.0 moles of gas are in a 5.00 L tank at 24.9 ∘C . Calculate the difference in pressure between methane and an ideal gas under these conditions. The van der Waals constants for methane are a=2.300L2⋅atm/mol2 and b=0.0430 L/mol.?