gas laws 3d

can anyone pls provide the source code 4 simulation of gas laws in 3d?? ive tried my best nd couldnt do it…pls its really urgent

Please read Forum Posting Guidelines, specifically this is not an OpenGL question (or you should clarify that) and it sounds very much like a homework assignment.