Question
Han invests 13 000 into a fund that combines stocks and bonds The return varies from year to year The balance at 5 year intervals
Han invests 13 000 into a fund that combines stocks and bonds The return varies from year to year The balance at 5 year intervals is given in the table below The goal of this exercise is to find constants a and b such that the model y ae best fits the data In order to do that we apply the natural logarithm to both sides of the model This yields In y In ae and using properties of logarithms In y In a Ine In y In a bt If we let Y In y c In a and c b the problem now reduces to finding the linear fit Y q c the set of dats point and A the problem now reduces to ending the linear 1 Yar 0 5 10 15 201 25 481 b 16 in 182 n 1992231 Part b art a The sectos 1 andy have already been created for you Compute a veckor by evaluating the natur ogerim of yote tut the natural lopapeis entered aning in MATLAB Create the marrix X for the near Create the vector t 0 5 10 15 20 25 y Balance 1 000 13 14 5 16 18 2 19 9 22 3 Create the mass Find the dolasky decomposition of S and store EU Solve the angular system Sobe the tangular system cw using the backslash Compute le the best fit use in the backslash command Computea varabies a undb spectively Et figure mena new u Pantal upper case Use o to plot point fit togethe original data points Use Linviath 2 and axis tight your polise style and color the Ine black Rheum by ting told off T dwhen and e are the values you found in part o w the authe
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started