Abstract
Cubic equations of state are widely used by chemists and chemical engineers to predict the thermodynamic properties of both pure substances and mixtures. In particular, they enable predictions concerning the temperature and pressure at which vapor–liquid equilibrium occurs. In this article, two JavaScript programs are described. The first program gives students the choice of five different cubic equations of state and performs calculations for pure substances. The second program predicts vapor–liquid equilibrium for binary mixtures using a choice of three modern equations of state and the van der Waals mixing rules. There are three advantages to using JavaScript and a Web interface for these programs. Firstly, the program contains online theory so that, rather than just calculating the parameter, the program explains how the calculation is being performed. Secondly, virtually all students are familiar with how forms work when they are used on Web pages and so they find the program straightforward to use. Thirdly, the Web interface means that it is easy for a student to vary a parameter and observe its influence on the answer or to repeat a calculation using a different equation of state.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.