fsolve with financial functions
05-26-2018, 10:50 AM
Post: #1
 roadrunner Senior Member Posts: 446 Joined: Jun 2015
fsolve with financial functions
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?

05-26-2018, 01:59 PM
Post: #2
 DrD Senior Member Posts: 1,133 Joined: Feb 2014
RE: fsolve with financial functions
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);
05-27-2018, 10:06 AM
Post: #3
 roadrunner Senior Member Posts: 446 Joined: Jun 2015
RE: fsolve with financial functions
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.