# Expression.simplify() takes no "algorithm" keyword

Hi Sage experts.

I am trying to run the following example, which is really copied from the doc with slight modification to adapt it to my Jupyter notebook.

```
from sage. All import *
from IPython.display import display, Math, Latex
%display latex
x, t = var("x, t")
ex = cos(t).exponentialize()
ex = ex.subs((sin(t).exponentialize()==x).solve(t)[0]); display(ex)
ex.simplify(); display(ex)
ex.simplify(algorithm="sympy"); display(ex)
```

It runs nicely till the last line, which fails with the error `TypeError: Expression.simplify() takes no keyword arguments`

. Since this line is copied from the doc, I am baffled.

I am using SageMath 9.5 on Ubuntu 22.04 and in the Jupyter notebook.

Thank you

GPN

Version 10.1 does the job. To see if a method accepts some arguments, ask for its doc string. For instance, with the above definition of

`ex`

:And this gives me in the present version:

(and so on, not too much place left in a comment.)

@dan_fulea thank you

@dan_fulea : could you convert your comment into an answer, in order to help future (per-users ?