Skip to content

bodasadallah/Equations-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Equations-Solver

This is an Equation Solver First u Enter the number of variables, then Enter the Equations. the Project descriptiopn is in the PDF file. Here is some Examples:


Examples:
6
abc+def-2hi+j+3k=4
2abc-def+hi+2j+k-3mn=20-0.25
abc+4hi+3def-3hi-j+2k+mn=-15
5abc+2def-hi-j+12mn+2k+mn=-3
-3abc-def+3j+k+3mn=-12
12+4abc+3def+hi-6j-5k-3mn=-19

num_vars
6

equation 2
2abc-1def+1hi+2j+1k-3mn=19.75

column abc
1
2
1
5
-3
4
add 1 3
2abc+4def-1hi+5k+1mn=-11
subtract 1 3
-2def-3hi+2j+1k-1mn=19
substitute abc 1 3
-2def-3hi+2j+1k-1mn=19
D
1  1  -2  1  3  0
2  -1  1  2  1  -3
1  3  1  -1  2  1
5  2  -1  -1  2  13
-3  -1  0  3  1  3
4  3  1  -6  -5  -3
D abc
4  1  -2  1  3  0
19.75  -1  1  2  1  -3
-15  3  1  -1  2  1
-3  2  -1  -1  2  13
-12  -1  0  3  1  3
-31  3  1  -6  -5  -3
D_value
5216
solve
abc is: 2.8587
def is: -16.7458
hi is: 2.4768
j is: -9.36618
k is: 10.7356
mn is: -0.935583

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages