|
-
Oct 28th, 2003, 05:36 PM
#1
Thread Starter
Frenzied Member
Scientific Calculator in JS *resolved*
I've been trying to make an advanced calculator in JS. but I got stuck when I realised that I don't know all the advanced function. I know they exist but not how to use them. So in JavaScript what are the keywords for:
- Sin
- Cos
- Tan
- Sin^-1
- cos^-1
- Tan^-1
- square root
- cube root
- X root
- log
- ln
- pi
- e
Last edited by Acidic; Oct 29th, 2003 at 07:40 AM.
-
Oct 29th, 2003, 02:51 AM
#2
Re: Scientific Calculator in JS
- Sin sin()
- Cos cos()
- Tan tan()
- square root sqrt()
- cube root pow(x,1/3)
- X root pow(x,n)
- log log()
- e (Exponent?) exp()
Rest...
-
Oct 29th, 2003, 07:28 AM
#3
Thread Starter
Frenzied Member
thx alot, with e I meant the constant, worth 2.71 something
What the thing for Pi too?
Never mind found it myself.
Last edited by Acidic; Oct 29th, 2003 at 07:40 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|