square root simplification



Am Donnerstag, den 20.08.2009, 12:24 +0200 schrieb ranjit b:
> Hi all,
> 
> 
> ist there a way to tell maxima to simplyify sqrt(Y) * sqrt(Y/X) to
> Y/sqrt(X)? I have tried the sqrtdenest() function after loading the
> sqdnst package, but was unsuccessful.

It works with radcan.

(%i18) sqrt(x)*sqrt(x/y);
(%o18) sqrt(x)*sqrt(x/y)
(%i19) radcan(%);
(%o19) x/sqrt(y)

Another possibility is to set the option variable radexpand to all.

(%i20) sqrt(x)*sqrt(x/y),radexpand:all;
(%o20) x/sqrt(y)

Dieter Kaiser