Question: please explain the solution, with matlab command Exercise 10: Suppose your salary was $42,200 in 2003 and $47,500 in 2005. You are interested in your

please explain the solution, with matlab command

Exercise 10: Suppose your salary was $42,200 in 2003 and $47,500 in 2005. You are interested in your salary in the year 2011, but of course you would like to know this now. What do you do? Well, you can try a mathematical model. There are two common ones:

Linear model This model says your salary will go up by a fixed amount each year (the slope). The formula is of the form

s = s2003 + m(t 2003), where t is the year and s2003 is the amount you make in the year 2003 which is $42,200.

Exponential model This model assumes your salary increases by a fixed percentage each year (not amount as in the linear model). The general formula is of the form

s = s2003er(t2003) where r is figured out from the data. Well help you out. For this problem r is

r = ln(47500/42200) = 0.0592...2

Assume for now that your salary follows a linear growth pattern.

(1)What MATLAB command calculates the salary values, s as a function of t?

(2)Assuming linear growth continues through the year 2011, make a graph to display your salary from year 2003 to 2011. After the plot command, label the axes so that the xaxis says year, the y says yearly salary, and the title says My salary.?

(3)Use the graph to predict your salary in 2011.?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!