Hi everyone,(adsbygoogle = window.adsbygoogle || []).push({});

I know that in P=nRT/v

R = 8.314 m^{3}*Pa/mol*k

Now, when you are trying to calculate P, if you have volumn in m^{3}on the bottom, everything cancels out and you are left with Pa.

I've just developed a simulator which simulates particle motion over time and calculates pressure in a box. The box however is in 2D, not 3D, so I only have m^{2}on the bottom. The number's I'm getting are roughly correct with the ideal gas law, but are all off by a factor 1000 or 10000 for some reason. I can't see this factor being a coincidence, I think it's because of the m^{3}, m^{2}difference but am unsure of how to calculate R for m^{2}, or why it would be 0.008314 (e.g. a factor of 1000) for m^{2}.

If you have any suggestions, let me know! Thanks.

Jason

(PS: I had to do the simulator as a project. Not sure if this this qualifies it as a "homework" question or not).

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Ideal gas law in two dimensions?

Loading...

Similar Threads for Ideal dimensions |
---|

Pressure dependence of the equilibrium constant for an ideal gas |

**Physics Forums | Science Articles, Homework Help, Discussion**