Question: (1+1 ? 3) Write a MATLAB function to evaluate the following expression and its derivative. Compute the derivative symbolically. y(x,1) (1+1 1+re with r>-1. a)

 (1+1 ? 3) Write a MATLAB function to evaluate the following

(1+1 ? 3) Write a MATLAB function to evaluate the following expression and its derivative. Compute the derivative symbolically. y(x,1) (1+1 1+re with r>-1. a) Your function should look like [y,dy]=func(x,r) with x being a vector. For this function, treat r as a scalar. Evaluate the function and its derivative over the range Osx550 with a step size of 0.01 and r=0.1, 0.5 and 1.0. Plot these three results in subplot with 3 plots in a column. Plot y in blue and its derivative in red. Identify the value of r in the title. Label both axes in each of the three plots. b) Make a second set of plots for the same three values of r using the semilogx command to make the x-axis a log scale. . . . wwww

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!