The first step is to describe the function you wish to find the extreme of (in the above example, windspeed) as <math>f(x,y)</math>. Next, you want to be able to describe the curve you wish to maximize ''f'' on as <math>g(x,y)=c</math> for some constant ''c''. | The first step is to describe the function you wish to find the extreme of (in the above example, windspeed) as <math>f(x,y)</math>. Next, you want to be able to describe the curve you wish to maximize ''f'' on as <math>g(x,y)=c</math> for some constant ''c''. |