Question: Global Maximum of Function over Defined Range

Hi,

 

I'm having trouble finding the maximu of the following function over a defined range. (Note: I dont have the global optimization toolbox... don't have that sort of money!)

From my system of 3 DE's I get the solution with dsolve.

One such solution:

f(G)=_C3 MathieuC(b,p,G)+_C4 MathieuS(b,p,G)

 

For given b and p. How can I find the maximum for a range of G. For example G=0 .. 100.

 

I tried using:

Maximize(eval(abs(f(G)), sol), G = 0 .. 100) but whenever I change the range the maximum will change and not be consistent. 

 

Any ideas?

 

Thanks

Please Wait...