Sketch the graph using matlab

Draw the graph of f and its tangent plane at the given point. (Use your computer algebra system both to compute the partial derivatives and to graph the surface and its tangent plane.) Then zoom in until the surface and the tangent plane become indistinguishable. f(x, y)=[xy sin(x-y)]/[1+x^2+y^2], and the given point(1, 1, 0)

Answers (2)

Start with fimplicit(@(x, y)...)

2 Comments

Could u pls specify your answer 😀
i'm a chemical engineering so i'm not good at this.

Sign in to comment.

f=@(x, y)(x.*y.*sin(x-y)./(1+x.^2+y.^2));
syms x y
dFxy = diff(f,x)+diff(f, y);
fimplicit3(f); hold on; fimplicit(dFxy, 'k', 'linewidth', 2)
shg

2 Comments

Can u explain for me why the code you give me showed the different graph with the answer key?

Sign in to comment.

Categories

Find more on Chemistry in Help Center and File Exchange

Products

Asked:

on 4 Jul 2021

Commented:

on 5 Jul 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!