I am using this formula in my code.

`z = (6.112*pow(2.71828,(17.67*x/(x+243.5)))*y*2.1674)/(273.15+x);`

with values x=20.88 and y=88 (all are floats)

I get z=15.7

However, if I plug in the same values in an excel spreadsheet

=6.112*2.71828^(17.67*B39/(B39+243.5))*C39*2.1674/(273.15+B39)

I get 16.006

Difference is almost 2%. Why the difference?

Any help appreciated

– Sunder