diff --git a/t02_simultaneouslinearequations.py b/t02_simultaneouslinearequations.py index 968bfe1..ab5c22f 100644 --- a/t02_simultaneouslinearequations.py +++ b/t02_simultaneouslinearequations.py @@ -1,3 +1,11 @@ # Find x and y with these two equations: # 3x + 4y = 24 # 4x + 3y = 22 +4y=24-3x +y=(-3/4)x+6 +#substituting y in the second equation yields: + 4x+3((-3/4)x+6)=22 +(4-9/4)x =22-18 +7/4x=4 +x=4 *(4/7)=16/7 +y=(-3/4)(16/7)+6=-48/28+6=-12/7+42/7=30/7