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.

Saravanan

Don't get me started about those stupid light bulbs.