Page 1 of 1

help needed with an equation

Posted: Wed Dec 03, 2008 4:47 am
by narafir
Hello!!! I was wondering if someone could help me find the i in the following, using PHP... Unfortunately I am just too noob to do this myself 8O

2934,70 = [141,52 / (1 + i )^1/12] + [141,52 / (1 + i )^2/12] + ... + [141,52 / (1 + i )^23/12] + [141,52 / (1 + i )^24/12]

The correct answer is i = 0,15405. But how can we get there with code???

Re: help needed with an equation

Posted: Wed Dec 03, 2008 5:23 am
by requinix
...

Why PHP?

Re: help needed with an equation

Posted: Wed Dec 03, 2008 5:28 am
by narafir
Thank you for your reply.

Well, it is a piece of a project running in PHP. But it doesn't matter, really, pseudocode would work just fine for me :)
So... any ideas?