Post Reply 
(11C) Solve for [i] given [n] [PMT] [FV]
04-11-2018, 06:54 PM
Post: #3
RE: (11C) Solve for [i] given [n] [PMT] [FV]
(04-11-2018 08:04 AM)Gamo Wrote:  Financial program to solve for [i] the interest given Period [n], Payment [PMT] and Future Value [FV]

OK, the program works. But...

- why do you use "0 X=Y?" instead of "X=0?" ?
- what is the PSE after this test for? It shows a brief "0,00" – and that's it.
- why do you use ENTER x instead of a simple x² ?

A PSE would make sense if it follows the STO–2 command. This way the user can see how (and if at all) the iteration converges as the displayed correction term gets smaller.

Style guide: it's a good idea to have the program end at a common end point. So the test if the initial guess for i is zero better should not simply stop there with a RTN, but instead jump to the end where the solution is returned.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (11C) Solve for [i] given [n] [PMT] [FV] - Dieter - 04-11-2018 06:54 PM



User(s) browsing this thread: 1 Guest(s)