필터 지우기
필터 지우기

how to solve equations?

조회 수: 2 (최근 30일)
tom
tom 2012년 5월 17일
Hi,
I have calculated the future value of a string of future cash flows. I know what to know what period payments are required to get to a future amount that equals a certain amount. So: For what ‘i’ does the following equation hold: 10.000=fvfix(0.05,10,’i’)
kr,
tom

채택된 답변

Sargondjani
Sargondjani 2012년 5월 17일
you can use fsolve to solve equation, but note that it will only find 1 local solution. it seems that in in your case there is an analytical solution as well: it would be better to calculate that directly, if possible
with fsolve you have to formulate as: value=0, so in your case it would look like: f_sol=@(x)fvfix(0.05,10,x)-10000; fsolve(f_sol,x0)
  댓글 수: 1
tom
tom 2012년 5월 17일
Thanks for your very fast reply!!!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numeric Solvers에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by