1 | initial version |

One way to simplify this expression is to

- turn it into an algebraic number
- then transform that algebraic number back into a symbolic expression.

Here is how to do that.

```
sage: a = 2*(2378*sqrt(2) - 3363)/(408*sqrt(2) - 577)
sage: AA(a).radical_expression()
-4*sqrt(2) + 6
```

2 | No.2 Revision |

One way to simplify this expression is ~~to~~in two steps:

- turn it into an algebraic number
- then transform that algebraic number back into a symbolic
~~expression.~~expression

Here is how to do that.

Name the expression:

```
sage: a = 2*(2378*sqrt(2) - 3363)/(408*sqrt(2) - 577)
```

Turn it into an algebraic number:

```
sage: b = AA(a)
sage: b
0.343145750507?
```

Turn that algebraic number into a symbolic expression:

```
sage: c = b.radical_expression()
sage: c
-4*sqrt(2) + 6
```

Or all in one go:

```
sage: AA(a).radical_expression()
-4*sqrt(2) + 6
```

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.