## ProblemYou need to compute sine, cosine, and other trigonometric functions. ## SolutionUse the trig functions in // Trig.java System.out.println("Java's PI is " + Math.PI); System.out.println("Java's e is " + Math.E); System.out.println("The cosine of 1.1418 is " + Math.cos(1.1418)); The |

Java Cookbook, Second Edition

ISBN: 0596007019

EAN: 2147483647

EAN: 2147483647

Year: 2003

Pages: 409

Pages: 409

Authors: Ian F Darwin

Similar book on Amazon

flylib.com © 2008-2017.

If you may any questions please contact us: flylib@qtcs.net

If you may any questions please contact us: flylib@qtcs.net