Long Equation

belle12:
I used float in declaring the value and used double in the equation

https://www.arduino.cc/en/Reference/Double

"Double precision floating point number. On the Uno and other ATMEGA based boards, this occupies 4 bytes.
That is, the double implementation is exactly the same as the float, with no gain in precision."