HP Forums
fsolve with financial functions - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: fsolve with financial functions (/thread-10803.html)



fsolve with financial functions - roadrunner - 05-26-2018 10:50 AM

In CAS: fsolve((Finance::TvmFV(48,x,0,-100,12,12,0)) = 5000,x)

returns empty brackets. I believe the correct answer is about 2.0%

Is fsolve not intended to work with the financial functions, or am I doing something wrong?

-road


RE: fsolve with financial functions - DrD - 05-26-2018 01:59 PM

fsolve((Finance::TvmFV(48,x,0,-100,12,12,0)) = 5000,x) is an interesting construct, but if it was designed to work that way, I haven't seen it.

Of course something like this could be used, instead:

X:=5000;

[CAS]
Finance::TvmIPYR(48,0,-100,X,12,12,0);
-or-
[Home] or [CAS]
Finance.TvmIPYR(48,0,-100,X,12,12,0);



RE: fsolve with financial functions - roadrunner - 05-27-2018 10:06 AM

Thanks for your help DrD.

I was considering a more complex problem that required an iterative solution but simplified it for my question here.

The same function (with an upper case X):

(Finance.TvmFV(48,X,0,-100,12,12,0))=5000

worked well in the solver app, as did the more complex problem; perplexing because apparently the solver app uses fsolve to get the answer.

Thanks again for your reply.

-road