# Having some difficulty with an assignment

15 views (last 30 days)
Noah Kebschull on 15 Oct 2019
Commented: darova on 15 Oct 2019
The ideal gas law relates the pressure ?, volume ?, and temperature ? of an ideal gas: ?? = ??? where ? is the number of moles and ? = 8.3145 ?/(? ???). Plots of pressure versus volume at constant temperature are called isotherms. Plot the isotherms for one mole of an ideal gas for volume ranging from 1 to 10 ?3 , at temperatures of ? = 100, 200, 300, ??? 400 ? (four curves in one plot). Label the axes and display a title and a legend. The units for pressure are Pa. After completing this step, you should obtain four plots in a single Figure Window.
Been trying to figure out how to start this, and completey lost. Not looking for direct answers, just want to know how to go about it.

#### 1 Comment

darova on 15 Oct 2019
• Plots of pressure versus volume
It means that you should express P = ...
Use plot function
V = 1 .. 10;
T1 = 100
% ...
T4 = 400
P1 = ...
% ...
P4 = ...
plot(V,P1)
hold on
plot(V,P2)
% ...