The implicit order of the functions

asked 1 year ago

Cyrille gravatar image

I would like to know why when we compute TT

TT=(a*x^2+ b*x)*exp(-(1/2)*x^2)*cos(a*x)
show(TT)

it becomes (ax^2+ bx)cos(ax)exp(-(1/2)x^2). Is there an implicit order for the functions.

Preview: (hide)

Comments

2

Sage is known to be adamantly asinine when choosing the order of terms and factors. This is related to numerous questions, wails, tears and teeth gnashings...

But it's strictly cosmetics.

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 1 year ago )