is there a fast numeric algorithm to approximate the maximum of an given function in an interval [x,y] without calculate the derivation of the function?
I only know about solver to calculate the roots (like the Brent method)
greetings
is there a fast numeric algorithm to approximate the maximum of an given function in an interval [x,y] without calculate the derivation of the function?
I only know about solver to calculate the roots (like the Brent method)
greetings
If its a function of one variable, then use the golden section search. If its is function of multiple vars, then use Downhill Simplex