MATLAB: How to solve 5 equations with 5 unknowns

equationsMATLABunknowns

Hi, I don't have any idea how to solve this system. I'm beginner so i don't knew how to write corect code. Pls help me. Equations:
(A-B-C)*5=C*6 ////
(A-B-C)*2+B*3=(A-B)*D ////
(A-B)*(2-D)=B*3 ////
(A-B)*2+B*4=B*E ////
A*2+(A-B)*3+(A-B-C)*2=50

Best Answer

You can use 'solve' in the Symbolic Toolbox to solve them.
My alternate method was in error. Just use 'solve'. It does very well.