Question: MATLAB PROBLEM Many economics models use the exponential function. The general form of the exponential decay function is: y (t) = Ae t Where A

MATLAB PROBLEM Many economics models use the exponential function. The general form of the exponential decay function is: y (t) = Ae t Where A is the initial value at t = 0, and > 0 is the decay rate for the function. Write a script to study the effect of the decay rate. To simplify the equation, set A equal to 1. Choose two different values for the decay rate, and an end value for the t vector. Then, write a function that will calculate the value of y for the given time range a decay rate and use it to generate two different y vectors using the two decay rates. Graph both exponential functions on the same graph within the chosen time range. Make one plot red and the other black, and be sure to label the graph, the axes, and add a legend

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!