Originally Posted by
Elakkiya630
In Excel while Calculating `=SIN(PI())` formula it returns `1.22515E-16`.If the `PI()` `Value(3.14159265358979)` is directly given like =SIN(3.14159265358979), it returns `3.23114E-15`. Please anyone can share your opinion about how the excel calculates differently, when 'PI' and 3.14159265358979 are passed as parameter.
PI() does not return "exactly" 3.14159265358979. It only appears that way because Excel formats only up to the first 15 significant decimal digits, an arbitrary limitation.
In fact, the difference can be calculated, to wit: =SUM(PI(),-3.14159265358979) formatted as Scientific is about 3.11E-15. More precisely:
I use period for the decimal point and comma to demarcate the first 15 significant decimal digits.
Bookmarks