Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

convert formula to php

Posted on 2008-09-30
2
Medium Priority
?
244 Views
Last Modified: 2012-06-21
can anybody show me how to write this formula in php?

 M = P * ( J / (1 - (1 + J) ** -N))

0
Comment
Question by:markmchugh
2 Comments
 
LVL 82

Accepted Solution

by:
hielo earned 2000 total points
ID: 22605109
$M = $P * ( $J / (1 - pow( (1 + $J), -$N ) ) );
0
 

Author Closing Comment

by:markmchugh
ID: 31501532
mistook the 1 for an I !!!!
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question