FileDocCategorySizeDatePackage
Trig.javaAPI DocExample428Sun Feb 08 21:33:58 GMT 2004None

Trig

public class Trig extends Object
Demonstrate a few of the Math functions for Trigonometry.
author
Ian F. Darwin, http://www.darwinsys.com/
version
$Id: Trig.java,v 1.5 2004/02/09 03:33:58 ian Exp $

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

		//+
		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));
		//-