1.Computing cos(x) using the cosine series: Recall that cos(x) is given by the following series: 1 Answer(s) 4 years and 4 months ago
Posted in : Java Interview Questions
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)); } }