//x^2+6*x+9 clear; clc; close; x=poly(0,'x'); p=x^2+6*x+9; factors(p); disp(ans(1),"x^2+6*x+9 is square of binomial expression ")