Computing: Free Pascal Programming

The Ideal Gas Law.


Download IdealGases desktop application (Windows 64bit) Download IdealGases source code (Lazarus/Free Pascal)

Description: Chemistry/physics related application, studying the relationships between volume, pressure, temperature and quantity of ideal gases. The program not only allows to calculate the different gas property values but also graphically shows the effect of the variation of one of the gas properties on the others. The users have the possibility to specifically choose what they want to study: Boyle’s law (volume-pressure), Amontons’s law (pressure-temperature), Charles’s law (volume-temperature), Avogadro’s law (volume-quantity), Ideal Gas Law (combination of the 4 proportionality laws, yielding the formula: PV = nRT).

Improvement: Beside using the trackbars, giving the user the possibility to directly enter the gas property values using the keyboard.

Free Pascal features: Creating and destroying objects during runtime. Using trackbars with variable limit values. Placing shapes randomly onto a variable form area.

Screenshot:

Ideal Gas Law graphical PC application

If you like this application, please, support me and this website by signing my guestbook.