Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

- 1-800-665-6601
- info@tutorpace.com

Substitution method calculator is used to solve two simultaneous equation for the variable

2x – y = 1...........................................(i)

y = 2x – 1............................................(ii)

=>3x + 2(2x-1) = 12

=>7x – 2 = 12

=>7x = 12+2

=>x = 14/7 = 2

=>Substitute 2 for x in the 1

=>2(2) – 1 = y

=>y = 3

=>

=>

=> From equation (i) we have ,

=> 4y = 12 -3x

=>y = (12-3x)/4

=> Substitute 2 for y in the 2

=>2x – 5(12-3x/4) = 10

=>2x – [(60 – 15x)]/4 = 10

=>(8x – 60 + 15x) /4 = 10

=>23x -60 /4 =10

=>23x = 40 +60

=>x = 100/23

=>Now replace value of x to find y

=>y = 3 – (3/4)(100/23)

=>y = -6/23