Hi!

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

Thanks for your answers!

1 | initial version |

Hi!

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

Thanks for your answers!

Hi!

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

Thanks for your answers!

**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
```

Hi!

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

Thanks for your answers!

**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
```

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.