matlab how to solve a polynomial function code example Example: root matlab sqrt(X) gives square root of X