Results 1 to 5 of 5

Thread: Math.pow

Threaded View

  1. #1

    Thread Starter
    Lively Member OT²O's Avatar
    Join Date
    Jan 2010
    Location
    Washington State
    Posts
    96

    Resolved Math.pow

    Can someone please explain Math.pow to me?
    I have this formula for compound interest and my question is, is year the only exponent even though 1 + rate, year are all in the ()?
    Also could you explain the formula to me? i just cant wrap my head around it. Why do you add 1 and why is it exponential?
    Code:
    amount=principal*Math.pow(1 + rate, year);
    Last edited by OT²O; Dec 16th, 2010 at 08:31 PM.
    On the off chance that I helped you (Rate This Post){
    Also If your problem was resolved;
    }

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