Maxima Help: Square root in square root



On 23/10/2011 12:48 AM, -Henry Hom wrote:
> How do I simplify:
>
> Square root in square root   sqrt(4-2*sqrt(3)) -->    sqrt(3)-1

Use the sqrtdenest function.

(%i1) sqrt(4-2*sqrt(3));
(%o1) sqrt(4-2*sqrt(3))
(%i2) load(sqdnst)$
(%i3) sqrtdenest(%o1);
(%o3) sqrt(3)-1