1.Computing cos(x) using the cosine series: Recall that cos(x) is given by the following series:

Ads

 
 
 

Share on Google+Share on Google+

mangboi
1.Computing cos(x) using the cosine series: Recall that cos(x) is given by the following series:
1 Answer(s)      8 years ago
Posted in : Java Interview Questions
Ads
View Answers

January 19, 2009 at 3:10 AM


Hi friend,

Code to help in solving the problem :

class MathAcos
{
public static void main(String[] args)
{
double x = 0.50;
System.out.println(Math.acos(x));
}
}


Thanks

Ads









Related Tutorials/Questions & Answers:

Ads

 
Advertisement null

Ads