Is this dew point calculation correct using the DHT-11?

I tried your code and it gave the same result as the online calculator when I gave it the temperature in Celsius

(• T and TD inputs/outputs to the equations are in Celsius)

Also why are the other calculations so simple

Which one(s)?

Pete