2026-02-22 17:06:20 +00:00
|
|
|
[
|
2026-02-24 09:21:07 +00:00
|
|
|
// Ideal Gas Law
|
|
|
|
|
{
|
|
|
|
|
"name": "Ideal Gas Law",
|
|
|
|
|
"description": r"""
|
2026-02-23 19:02:13 +00:00
|
|
|
Equation of state for an ideal gas.
|
|
|
|
|
|
|
|
|
|
$$PV = nRT$$
|
|
|
|
|
|
|
|
|
|
Where:
|
|
|
|
|
- $P$: Pressure (Pascals)
|
|
|
|
|
- $V$: Volume (m^3)
|
|
|
|
|
- $n$: Amount of substance (moles)
|
|
|
|
|
- $R$: Universal gas constant $8.314\ \mathrm{J/(mol\cdot K)}$
|
|
|
|
|
- $T$: Temperature (Kelvin)
|
|
|
|
|
|
|
|
|
|
This law combines Boyle's, Charles's and Avogadro's laws.
|
|
|
|
|
|
2026-02-24 09:21:07 +00:00
|
|
|
""",
|
|
|
|
|
"input": [
|
|
|
|
|
{"name": "n", "unit": "mole"},
|
|
|
|
|
{"name": "T", "unit": "kelvin"},
|
|
|
|
|
{"name": "V", "unit": "cubic meter"}
|
|
|
|
|
],
|
|
|
|
|
"output": {"name": "P", "unit": "pascal"},
|
|
|
|
|
"d4rtCode": "P = (n * 8.314462618 * T) / V;",
|
|
|
|
|
"tags": ["physics", "thermodynamics", "gas"]
|
|
|
|
|
}
|
2026-02-22 17:06:20 +00:00
|
|
|
]
|