# How to solve 5 equations with 5 unknowns

95 views (last 30 days)

Show older comments

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

##### 7 Comments

Roger Stafford
on 11 Mar 2018

### Accepted Answer

Roger Stafford
on 29 May 2015

Edited: Roger Stafford
on 29 May 2015

You can use 'solve' in the Symbolic Toolbox to solve them.

My alternate method was in error. Just use 'solve'. It does very well.

### More Answers (1)

Alex Sha
on 12 Oct 2019

Numercial solution:

a: 9.00473933649289

b: 1.18483412322275

c: 3.55450236966825

d: 1.54545454545455

e: 17.2

##### 0 Comments

### See Also

### Categories

### Products

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!