I found the Relative Humidity Calculator at https://www.lenntech.com/calculators/humidity/relative-humidity.htm. I tried to understand the source code, but I am confused with the formulas (absMoisture1, RH2) used for the calculation of relative humidity.
Please, have you ever face up to the similar problem? Many thanks in advance.