Originally uploaded by Fisheater on 6th April 2012 02:22 am
Ideal Gas Law Script
Coded By: Fisheater
PV = nRT
P = Pressure (atm),
V = Volume (L),
n = # of moles,
R = 0.0821,
T = Temperature (K)
This is a script that uses the Ideal Gas Law which is PV=nRT, where R is a constant, 0.0821.
With this script, you can calculate a number of things including:
# of Moles,
Just drag the lua folder into your garrysmod/garrysmod directory and override if necessary.
-How to use-
Open up the menu with the command: IdealGas_Menu
When in there, enter your values for each and select which units each of the values are in.
*Leave only one value blank to solve for it!* Press Find! and your answer will be printed in chat.
Pressure: atm, torr, kpa, pa;
Volume: L, mL, cm^3;
Temperature: K, C;
I have 4 moles of a gas at a pressure of 5.6 atm and a volume of 12 liters, what is the temperature in Kelvin?
A container has 3 moles of gas with a volume of 60 liters at a temperatuer of 400 K, what is the preesure of inside the container at atm?