Question: Problem 1 . We have a function that you want to evaluate in MATLAB f ( x , x ) = 1 0 x 2

Problem 1.
We have a function that you want to evaluate in MATLAB
f(x,x)=10x2-3y2+5xy-25
a) Write an anonymous function in MATLAB in a lixescript to ask the user to input x and then to input y and then have the function print out the answer to the screen
b) Have your livescrint plot the value of f vs x from 1 to 10 for y=3.
c) Use Excel and MatLAB to evaluate the integral of f(x,y) from 1 to 10 for y=3 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.)
 Problem 1. We have a function that you want to evaluate

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!