Question: Problem 1 . We have a function that you want to evaluate in MATLAB f ( x , x ) = 1 0 x 2
Problem
We have a function that you want to evaluate in MATLAB
a Write an anonymous function in MATLAB in a lixescript to ask the user to input and then to input and then have the function print out the answer to the screen
b Have your livescrint plot the value of vs from to for
c Use Excel and MatLAB to evaluate the integral of from to for using the trapezoidal rule or any other numerical method.. including MATLAB built ins Compare this with the analytical solution. I realize I left zu a number of excel sheets and MATLAB files which would work for this with a little modification. You can "pirate" from me but zoud be better off making your own.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
