Page 1 sur 1

Specifying the type of expansion +/*

Publié : mar. août 20, 2024 4:07 am
par compsystems
Hello

The Expand command could be more specific, for example, by indicating how the expansion will proceed, either as factors or sums

expand((x+y)^2, '*' ) [enter] (x+y)*(x+y)

expand((x+y)^2, '+' ) [enter] x^2+2*x*y+y^2

If no second argument is specified, the expansion is performed in additions or subtractions.

expand((x+y)^2 ) [enter] x^2+2*x*y+y^2

expand((a+b)/d) [enter] a/d+b/d

expand((a*b)/c, '*') [enter] (a/c)*b