[780] in java-interest
using acos
daemon@ATHENA.MIT.EDU (Colin Johnston)
Thu Jul 20 00:22:39 1995
Date: Wed, 19 Jul 1995 09:27:22 +0100
From: colinj@isc.anglia.ac.uk (Colin Johnston)
To: java-interest@java.Eng.Sun.COM
Hi,
I am try to use this function from the java.lang.Math class
In my code I reference it like this
Import java.lang.Math;
Then call the function like this
th2=acos(costh2);
However the compiler doe not like this
errors below
coltest1.java:47: Method acos(double) not found in class coltest1.
th2=acos(costh2);
Does anyonje have any ideas what is wrong
Thanks Colin
*****************************************
* Colin Johnston *
* Research Assistant *
* PARC research group *
* Anglia Polytechnic University *
* Victoria Road South *
* Chelmsford *
* Essex CM1 1LL *
* UK *
* Telephone: +44 956 365208 *
* *
*****************************************
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com