Comment on Tutorial - toRadians() and toDegrees() Sample program in Java By Ivan Lim



Comment Added by : Stephen Blythe

Comment Added at : 2012-04-02 03:39:03

Comment on Tutorial : toRadians() and toDegrees() Sample program in Java By Ivan Lim
Actually, 120º *is* 2.0943951023931953 radians because 180º is pi radians (i.e. roughly 3.1416 radians).

I believe you may be confusing radians and gradians, although even gradians would not be right with what you're saying.

So, don't despair ... Java is not broken, but the world's Mathematicians are crying.


View Tutorial



Ask a Question

Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. This explanation is simple and very useful.
View Tutorial          By: kiran at 2015-02-22 20:47:13

2. Very good tutorial, but I have a small question he
View Tutorial          By: Mohammad NABIL at 2010-07-20 05:58:19

3. thanks for this good example. i got error like (th
View Tutorial          By: anandhi at 2009-12-20 09:32:45

4. Can you explain with increment and decrement opera
View Tutorial          By: Sathish Kumar at 2013-09-01 07:40:42

5. its working... thanks.. thank you very much...!!!!
View Tutorial          By: Viswanathan at 2008-08-18 06:54:09

6. Thank you very much sir.
One can simply exe

View Tutorial          By: rudhin at 2013-05-10 12:32:57

7. i have using struts tag in jsp ,
i have us

View Tutorial          By: sachin khatode at 2008-11-11 01:24:33

8. it is gooo...very helpful to know the basics
View Tutorial          By: srikanth at 2010-08-24 00:38:57

9. I need full code for how to connnect pc to mobile
View Tutorial          By: Vijay at 2009-08-23 23:38:05

10. I want to get SCJP!
View Tutorial          By: Johny at 2009-08-24 22:48:56