Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
• Campbell Ritchie
• Paul Clapham
• Ron McLeod
• Jeanne Boyarsky
• Tim Cooke
Sheriffs:
• Liutauras Vilda
• paul wheaton
• Henry Wong
Saloon Keepers:
• Tim Moores
• Tim Holloway
• Stephan van Hulst
• Carey Brown
• Frits Walraven
Bartenders:
• Piet Souris
• Himai Minh

# from dan's math question

Ranch Hand
Posts: 98
• Number of slices to send:
Optional 'thank-you' note:
hi guys,
class K {
public static void main (String[] args) {
double radians = Math.PI/2;
double degrees = 90;
System.out.print((Math.sin(degrees)==1.0));
}
}
he ans is true, false, how?

Ranch Hand
Posts: 49
• Number of slices to send:
Optional 'thank-you' note:
sin(Math.PI/2) does not mean sin(90).
PI/2 != 90

Ranch Hand
Posts: 1865
• Number of slices to send:
Optional 'thank-you' note:
The argument to the trigonometric methods is the angle measured in radians. The purpose of this question is to verify that you know that the angle is not measured in degrees.

anushree ari
Ranch Hand
Posts: 98
• Number of slices to send:
Optional 'thank-you' note:
thx guys,
i got it,
thx

 expectation is the root of all heartache - shakespeare. tiny ad: Free, earth friendly heat - from the CodeRanch trailboss https://www.kickstarter.com/projects/paulwheaton/free-heat