This week's book giveaway is in the Servlets forum. We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line! See this thread for details.

The class java.lang.Math has so many numeric functions like exponential, log and trigonometric. sin, cos and tan are some of the trigonometric functions. Note that Math is a static class and you don't have to instantiate to use these functions.