You want to create a graph showing the relationship of an ideal gas between pres
ID: 1813987 • Letter: Y
Question
You want to create a graph showing the relationship of an ideal gas between pressure (P) and temperature (T). The ideal gas law relates the pressure, volume, amount, and temperature of an ideal gas using the relationship: PV = nRT. The ideal gas constant, R, is 0.08207 atmosphere liter per mole kelvin. Assume the tank has a volume of 12 liters and is filled with nitrogen (formula, N_2; molecular weight, 28 grams per mole). Allow the initial temperature to be 270 kelvin at a pressure of 2.5 atmospheres. Creat a graph, showing the temperature on the abscissa from 270 to 350 kelvin.
Explanation / Answer
clear all
clc
T=270:1:350;
R=0.08207;
V=12;
n=2.5 * V /(R*270);
P=n*R*T/V;
plot(T,P)
xlabel('Temperature')
ylabel('Pressure')
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.