# Revision history [back]

### Symbolic calculus of extrema

Hi!

Is there any way in Sagemath to find symbolically the local extrema of a given function?

### Symbolic calculus of extrema

Hi!

Is there any way in Sagemath to find symbolically the local extrema of a given function?

EDIT: As an example one may be interested in the extrema of the following differentiable function:

K=var('K');
l=var('l');
x=var('x');
z(x)=(cosh(-1/2*K*l+K*x)-cosh(1/2*K*l))/K; #Given function


### Symbolic calculus of extrema

Hi!

Is there any way in Sagemath to find symbolically the local extrema of a given function?

K=var('K');