Solved

convert formula to php

Posted on 2008-09-30
2
220 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 500 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

785 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