# Does Sage accept the nth root with letters a and b?

Hello!

Before installing Sage, I would like to know it accepts the **nth** root with letters *a* and *b*. For example:

```
sqrt(a+sqrt(b))*sqrt(a-sqrt(b))*sqrt(a^2-b)
```

LaTeX: `\[\sqrt {a + \sqrt b } *\sqrt {a - \sqrt b } *\sqrt {{a^2} - b} \]`

Wolfram Alpha: `Sqrt[a+Sqrt[b]]*Sqrt[a-Sqrt[b]]*Sqrt[a^(2)-b]`

Does it accept this formula with letters?

Thank you for your attention, understanding and helping!

You can test code, like the answer below, on a Sage Cell server without having Sage installed.