Having some difficulty with an assignment

7 views (last 30 days)
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
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)
% ...

Sign in to comment.

Answers (1)

Abanoub Rezkallah
Abanoub Rezkallah on 25 Feb 2022
The ideal gas law relates the pressure ๐‘ƒ๐‘ƒ, volume ๐‘‰๐‘‰, and temperature ๐‘‡๐‘‡ of an ideal gas:
๐‘ƒ๐‘ƒ๐‘‰๐‘‰ = ๐‘ ๐‘ ๐‘›๐‘›๐‘‡๐‘‡

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!