Simplifying sqrt(4*z^2-4*z+1)?



On Mon, Feb 9, 2009 at 12:54 PM, Raymond Toy <raymond.toy at ericsson.com>wrote:

>
> Assume |z| <= 1/2, how can I get maxima to simplify
>
> (sqrt(4*z^2-4*z+1)-1)/(2*z^2-2*z)?
>

expr: (sqrt(4*z^2-4*z+1)-1)/(2*z^2-2*z)
assume(z>-1/2,z<1/2)$
scanmap(factor,expr) => -1/(z-1)

          -s