Question: CompleteSquare can't square completely

ans:=CompleteSquare(x^2+2*x)

                                             ans := (x+1)^2-1

ans1:=CompleteSquare(x^4+2*x^2, x^2)

Error, (in Student:-Precalculus:-CompleteSquare) arguments after the 1st should be a name, function, or a list or set of names or functions

i don't konw  why the second function can't square.can you tell me?

 

Please Wait...