thanks alot for that, by the way what is this cssolve command, i never heard of it before.

csolve stands for complex solve; i.e. it will return any complex solutions the equation may have. For instance, csolve(x^2+1=0,x) returns x=i or x=-i. However, if you use the regular solve, solve(x^2+1=0,x) returns false, meaning that its not possible to solve for x^2+1 in the real numbers.