Question: MATLAB QUESTION (Calculus III Course) please provide me the matlab codes!! :) FOR THIS QUESTION, PLEASE ONLY ANSWER (a) and (b) since there are way

MATLAB QUESTION (Calculus III Course)

please provide me the matlab codes!! :) FOR THIS QUESTION, PLEASE ONLY ANSWER (a) and (b) since there are way too many parts. i will post the rest in the next question. Thank you so much for your time and help!

MATLAB QUESTION (Calculus III Course) please provide me the matlab codes!! :)FOR THIS QUESTION, PLEASE ONLY ANSWER (a) and (b) since there are

4. We find all saddle points, local maximums, and local minimums of f(x,y) = z4y4- 4r^y+2y. If you do this by hand, you will be solving for roots of a cubic function that doesn't factor (try it)! We use Matlab to approximate the critical points. We classify each point and then we plot the surface. (a) Define the function f(x, y). Make sure to include asterisks (*) when multiplying (b) Using the derivative command diff, compute all the first and second order partial derivatives. For simplicity, you may want to define them as fx, fxx, etc. (you can suppress this output if you want) (c) We now solve for the critical points. However, the solve command finds the exact solution, some of which can't be obtained. Instead, we need to approximate the value (numerically). Look up online for the Matlab command vpasolve, and look for the section Assign Solutions to Structure Array. Mimic the example to sinultaneously solve fe(z,y-0 and fy(z,y) = 0. These points are in the form of vectors (arrays), so denote this as [A, B] (i.e. [A, Bvpasolve (d) If you run the code above, you notice we get imaginary solutions, which we don't want here! So before applying the vpasolve command, input the following i assume (x, 'real') 2 assume (y, 'real') (e) Now we evaluate all these points in the discriminant. You can either define the discriminant separately (remember you already computed the partial derivatives above), or jump straight to the subs command. Here, the form of the command should be subs(??????,(x,y],{A.B))%notice After this, use the subs command again to find fr(x, y) at the points. points. Denote this by C : the braces on A and B (f) Use the subs command to compute the function value f (x, y) at all these critical

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!