How to solve this equation?
古いコメントを表示
Hello, I'm trying to solve this equation using Matlab: (to find i)

But I can't understand the result that I get which is:


I'm only showing a part of the result. Any help to solve this equation is much appreciated.
syms i;
prt1=61466000*((1+i)^46-1)/(i*(1+i)^46);
prt2=400000000*(1+i)^-1;
prt3=500000000*(1+i)^-2;
prt4=760000000*(1+i)^-3;
prt5=200000000*(1+i)^-4;
prt6=140000000*(1+i)^-5;
prt7=3105237.5*((1+i)^46-1)/(i*(1+i)^46);
second=prt2+prt3+prt4+prt5+prt6+prt7;
eqn=prt1-second;
solve(eqn,i)
4 件のコメント
Cesar Antonio Lopez Segura
2018 年 9 月 20 日
編集済み: Cesar Antonio Lopez Segura
2018 年 9 月 20 日
Why do you delete the term (1+i)^-4 in your code ?

Dimitris Kalogiros
2018 年 9 月 20 日
Does i have to be positive integer ?
Nadun Chandrabahu
2018 年 9 月 20 日
Nadun Chandrabahu
2018 年 9 月 20 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Numeric Solvers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!