Matlab is not returning the correct solution to this system of symbolic equations.
syms a1 a2 a3 dx[Sa1 Sa2 Sa3]= solve(a1+a2+a3==0,a2+2*a3==1/dx,0.5*a2+2*a3==0)
The correct answer should be a1 = -3/2*dx ; a2 = 2/dx ; a3 = -1/2*dx;
Any insight into what I am doing wrong would be greatly appreciated!
Best Answer