subject

The pressure of a gas changes as the volume and temperature of the gas vary. write a program that uses the van der waals equation of state for a gas, to display in tabular form the relationship between the pressure and the volume of n moles of carbon dioxide at a constant absolute temperature (t). p is the pressure in atmospheres, and v is the volume in liters. the van der waals constants for carbon dioxide are a = 3.592 l 2 atm/mol 2 and b = 0.0427 l/mol. use 0.08206 l atm/mol k for the gas constant r. inputs to the program include n, the kelvin temperature, the initial and final volumes in milliliters, and the volume increment between lines of the table. your program will output a table that varies the volume of the gas from the initial to the final volume in steps prescribed by the volume increment. here is a sample run: enter at the prompts the number of moles of carbon dioxide, the absolute temperature, the initial volume in milliliters, the final volume, and the increment volume between lines of the table. quantity of carbon dioxide (moles)> 0.02 temperature (kelvin)> 300 initial volume (milliliters)> 400 final volume (milliliters)> 600 volume increment (milliliters)> 50 output file
0.0200 moles of carbon dioxide at 300 kelvin volume (ml) pressure (atm) 400 1.2246 450 1.0891 500 0.9807 550 0.8918 600 0.8178

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 17:00, Janznznz1121
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best suited for this?
Answers: 2
image
Computers and Technology, 22.06.2019 18:30, smariedegray
All of the following are characteristics that must be contained in any knowledge representation scheme except
Answers: 3
image
Computers and Technology, 22.06.2019 23:00, cchotshot
Is an attack that relies on guessing the isns of tcp packets
Answers: 2
image
Computers and Technology, 23.06.2019 15:20, yeahmaneee
What does a bonus object do? a. subtracts lives b. keeps track of a player's health c. gives a player an advantage d. makes text appear
Answers: 1
You know the right answer?
The pressure of a gas changes as the volume and temperature of the gas vary. write a program that us...

Questions in other subjects:

Konu
Mathematics, 30.06.2019 14:10
Konu
Mathematics, 30.06.2019 14:10