Finding the maximum of a non-differentiable function?



What kind of non-differentiable you have in mind (could you give a 
typical example of a function)?

Numerical method or symbolic?

May be:

1) try to use left and right derivatives
2) investigate sign of the difference f(x+h)-f(x)
3) investigate the domain of the derivative (for example: if f(x)=abs(x) 
then we have diff(f(x),x)=x/abs(x))


25.05.2012 3:10, Alasdair McAndrew ?????:
> Does Maxima contain within it, or does anybody have, an optimized search
> method for finding the maximum value of a non-differentiable function
> over an interval?
>
> Thanks,
> Alasdair