Equation with 3 unknowns. how do i find the maximum solution using matlab?? Hello, Im stuck in matlab, i have an equation with 3 unknowns. how can i get the maximum answer possible? Is there a way with a 3D graph?? Equation: F = ( sqrt((b^2 + c^2) -(2b c cos(y))) x M ) / (b c sin(y)) I have M as an answer in terms of y. its <1 x 111 double > I have the following limits: 0<b<6 , 0<c<6 and 0<y<110 I am looking to get the maximum F, any help is appreciated thanks!