Join now - be part of our community!

In built calculator app giving wrong answers

SOLVED
coolhz
Visitor

In built calculator app giving wrong answers

There's a Problem in Xperia L calculator app.
Using sine function gives wrong answers.
Try sin 37 for me it comes to -0.64… while it should come to 0.60….(correct). I checked the same on third party scientific calculator which delivers correct answer. Bug needs to be fixed.
1 ACCEPTED SOLUTION

Accepted Solutions
DeepanshKhurana
Visitor

Hello

This is because the Android Calculator on all android phones uses Radians instead of Degrees thus it gives inaccurate answers because you expect answers according to degrees.

You could first convert the degree (e.g. 37) into radian by using (pi/180)*degree value.

Or you could use Holo Calculator or Real Calc which lets you set the mode b/w Degrees and Radians.

-Deepansh

Do not forget to give a kudos, if satisfied. Slightly_smiling_Face

View solution in original post

2 REPLIES 2
DeepanshKhurana
Visitor

Hello

This is because the Android Calculator on all android phones uses Radians instead of Degrees thus it gives inaccurate answers because you expect answers according to degrees.

You could first convert the degree (e.g. 37) into radian by using (pi/180)*degree value.

Or you could use Holo Calculator or Real Calc which lets you set the mode b/w Degrees and Radians.

-Deepansh

Do not forget to give a kudos, if satisfied. Slightly_smiling_Face
coolhz
Visitor

Thanks bro. I think that's the solution.