Solved

convert formula to php

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
comma true 6 37
Wordpress French and English Site 6 74
Redirect 301 from one address  to another 5 25
Text field validation on text fields used for multiple inserts 7 21
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

790 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