This looks suspicious: "datatype = integer[1]" ?!
Maybe there is some preceeding code, which causes problems? At least the show piece of code is running fine here:
syms m U2
eqn1 = 0.0004*200*10^6*(-3/4*U2-sqrt(3)/4*0.05)==0;
eqn2 = 0.0004*200*10^6*(sqrt(3)/4*U2+1/4*0.05)== -m*9.81;
sol = solve([eqn1,eqn2])