Write an algorithm/flowchart to solve following pair of equations for x and y given the values of a, b, c, p, q, r where:
ax + by = c and px + qy = r
a
b
c
p
q
r
x
y
Case-1
2.5000
5.2000
6.2000
1.251
2.605
3.152
Case-2
2.5000
5.2000
6.2000
1.251
2.606
3.152
Case-3
0.2E-4
2.000
2.0000
1.000
2.000
4.000
Case-4
1.000
2.000
4.000
0.2E-4
2.000
2.0000
A. Comment on results of case-1 and Case-2: When there is change of 0.001 in one of the coefficients.
B. How interchange of equations affects the solutions in Case-3 and Case-4.
C. Revise the flowchart/algorithm for solving with the case when one or more of the coefficients a, b, c, p, q, r are zero.