Question: A bug in convert


I found a bug in convert, please help me if you know a solution.

When we use the code


we get 

[U(xi)^2, y(xi)^5]

but when we use


we obtain


while I expect the following result:


* "convert" is one part of my code for solving a problem. Sometimes there are cases that just exist one function instead of >1.

Since I want to keep my codes general, hence I need [U(xi)^2] in response to convert(U(xi)^2,list).

Thanks in advance.

Please Wait...