• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

convert formula to php

can anybody show me how to write this formula in php?

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

0
markmchugh
Asked:
markmchugh
1 Solution
 
hieloCommented:
$M = $P * ( $J / (1 - pow( (1 + $J), -$N ) ) );
0
 
markmchughAuthor Commented:
mistook the 1 for an I !!!!
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now