Euler’s Method and Runge Kutta 4th Order Method in Python

Introduction Euler’s method, also known as Forward Euler’s Method, can used for solving ordinary differential equations (ODEs) which is named after Leonhard Euler. In numerical analysis, Runge Kutta Methods are a family of implicit and explicit iterative methods, which include the Eulers’s method, used in temporal discretization for the approximate solutions of simultaneous nonlinear equations. These methods were developed around 1900 by the German mathematicians Carl Runge and Wilhelm Kutta. The scope of this writing Read more…

Modified Redlich-Kwong-Soave Equation of State in Python

Introduction In 1949 [1] , Otto Redlich and Joseph Neng Shun Kwong introduced their version of equation of state which was considered to be a notable improvement to the van der Waals equation. Later in 1972 [2], Giorgio Soave modified it by assuming that the parameter a in the original equation to be temperature-dependent. Otto Redlich Joseph Neng Shun Kwong Giorgio Soave In my previous article, I demonstrated the implementation of Van der Waals equation of Read more…

Van der Waals Equation of State in Python

Introduction           The van der Waals equation of state was presented by Johannes Diderik van der Waals in his 1873 PhD thesis1, which describes the state of matter under a given set of physical conditions, such as pressure, volume, temperature, or internal energy. At the time of writing his thesis, the existence of molecules was not accepted, rather opposed. However, he was convinced that molecules existed. Johannes Diderik van der Waals Read more…

McCabe – Thiele Method in Python

Introduction Distillation is a process of separating two or more components from each other by exploiting the principle of relative volatility of mixture. One of the well-known examples of distillation is production of liquor (vodka, whisky, gin, etc.), where (ethyl-) alcohol is concentrated by distilling it from the fermentation broth. The McCabe –Thiele method is one of the simplest methods used for the analysis of binary distillation. It does not require detailed enthalpy data and has been found adequate Read more…