Results 1 to 3 of 3

Thread: Scientific Calculator in JS *resolved*

  1. #1

    Thread Starter
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090

    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.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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...

  3. #3

    Thread Starter
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090

    Lightbulb

    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
  •  



Click Here to Expand Forum to Full Width