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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:30
In the film "epic 2015," epic is the name for:
Answers: 3
question
Computers and Technology, 23.06.2019 12:50
Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a missing space a comma in place of a period a missing closing quotation mark
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Choose the correct citation for the case which established the "minimum contacts" test for a court's jurisdiction in a case. select one: a. brown v. board of education of topeka, 347 u.s. 483 (1954). b. international shoe co. v. washington, 326 u.s. 310 (1945) c. haynes v. gore, 531 u.s. 98 (2000). d. international shoe co. v. washington, 14 u.s. code 336.
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
How are we able to create photographs differently than 100 years ago? explain your answer in relation to your photograph you selected.
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
question
Social Studies, 23.09.2020 05:01
question
Mathematics, 23.09.2020 05:01
question
Mathematics, 23.09.2020 05:01
question
Chemistry, 23.09.2020 05:01
Questions on the website: 13722361