MATLAB: Derivative firstly x then y

derivative

f(x,y)=(x^28)/(y^2+x^2)+(sqrt(exp(x*y)+abs(-4*y)) take derivative firstly x and the y for f section.

Best Answer

Using symbolic toolbox, you can do it like this
syms x y
f = (x^28)/(y^2+x^2)+(sqrt(exp(x*y)+abs(-4*y)));
fx = diff(f, x); % derivative w.r.t. x
fy = diff(f, y); % derivative w.r.t. y
Output from live script
disp(f)
disp(fx)
disp(fy)