How to modify the code if I add parameter c to function Thank for help
x0 = [0,0];
x = fsolve(@myfunc,x0)
%===================
function F = myfunc(x)
F(1) = 4*c*(c*x(1) - 2)^3 + 2*c*x(2)^2 *(c*x(1)-2);
F(2) = 2*x(2)*(cx(1) - 2)^2 + 2*(x(2)+1);
end
How to modify the code if I add parameter c to function Thank for help
x0 = [0,0];
x = fsolve(@myfunc,x0)
%===================
function F = myfunc(x)
F(1) = 4*c*(c*x(1) - 2)^3 + 2*c*x(2)^2 *(c*x(1)-2);
F(2) = 2*x(2)*(cx(1) - 2)^2 + 2*(x(2)+1);
end
Copyright © 2021 Jogjafile Inc.
function F = myfunc(x, c)xexecution part:x(c):