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



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. /** Example shows garbage collector in action

View Tutorial          By: sreekar at 2010-05-08 07:58:09

2. how to solve this problem

javax.com

View Tutorial          By: rajani at 2009-07-18 05:44:55

3. your second last example in above code (Character
View Tutorial          By: rupam shaw at 2013-04-24 08:36:05

4. Hi
I have a USB bluetooth that plug in my c

View Tutorial          By: Duong D. Thien at 2008-06-25 06:09:07

5. i WROTE A FILE READER LIKE IT WAS IN THE SAMPLE BU
View Tutorial          By: LILI at 2011-11-06 01:47:20

6. be very careful. use of put (or any method inheri
View Tutorial          By: d at 2009-10-14 09:55:23

7. Hi, I used your fix and it looks like it worked fi
View Tutorial          By: Eddie at 2011-02-21 18:41:06

8. the language of your information is easu and more
View Tutorial          By: shivprakashmeena at 2010-08-06 22:18:09

9. You should check out the new BonCode connector for
View Tutorial          By: Petro Donic at 2012-07-16 02:34:06

10. Very concise, but it would be more helpful without
View Tutorial          By: Randy at 2010-11-17 14:16:01