I only need B and C. I don\'t know how to use fzero or bisection to find the mon
ID: 3814546 • Letter: I
Question
I only need B and C. I don't know how to use fzero or bisection to find the months.
Explanation / Answer
Part B:
%% Solve System of equation in MATLAB
A=100000;
P=10000;
i=0.1;
f = @(n)A-P*(1+i)^n;
Number_of_years = fzero(f,10)
OUTPUT:
>> solve_sys_eqn
Number_of_years =
24.1589
PART c :
PMT() function in Excel verifies above results.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.