why the following code cannot find the root of the function g(z). Note f(2)=6. So fzero(g,1) should return 2.
syms x y zf(z) = vpaintegral(vpaintegral(x*y, x, [1 3]), y, [-1 z]);f(2)g(z) = f(z) - f(2);fzero(g,1)
root of the double integral
syms x y zf(z) = vpaintegral(vpaintegral(x*y, x, [1 3]), y, [-1 z]);f(2)g(z) = f(z) - f(2);fzero(g,1)
Best Answer