Question: Find the minimum of a function of two variables

Hello, can someone help me please?

I have to find the minimum (x,y) over the domain [0;2Pi] of the following function

f(x,y):=1+8 cos(1/2 x-1/2 y) cos(1/2 x) cos(1/2 y) which i plotted to have an idea where its minimum is located.

plot3d(f(x,y),x=0..2Pi,y=0..2Pi)

 

I tried to use the command  ' minimize(f(x,y)) '

 

Thank you in advance,

best regards.

 

 Ps: the function normaly attains its minimum at (2Pi/3,-2Pi/3) and (-2Pi/3,2Pi/3).

Please Wait...