Quick question, I hope someone can help me out here. I’m trying to find all critical points of the function:
f(x,y) = 0.05 * (1-12x+20x^2) * (1-7y+10y^2) * exp(-(x^2/6+y^2/3))
when I do the usual fx = diff(f(x,y),x) and fy = diff(f(x,y),y) then call [xcr,ycr] = solve(fx,fy) it only gives me one solution…I know there are more then that.
Could this be because there are an infinite number of solutions, and this is one? Is there a way around this?
thanks!
You didn’t share your exact code so I don’t know what you did to get only one solution, but you can use the symbolic toolbox to solve this puppy:
This actually yields 13 solutions: