Specifying the type of expansion +/*

Messages in english

Modérateur : xcasadmin

compsystems
Messages : 603
Inscription : sam. févr. 04, 2017 11:34 pm
Localisation : Colombia
Contact :

Specifying the type of expansion +/*

Message par compsystems » mar. août 20, 2024 4:07 am

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

Répondre