Question

How can the following set of equations be solved using matrices? A+ B + F =...

How can the following set of equations be solved using matrices?

A+ B + F = 16

B + C + D = 15

D+ E = 13

H+ I = 14

F+G+H+I = 20

F+ G = 6

A, B,C,D, E, F, G and H are limited to having a unique value. and the values are  1 though 9

Homework Answers

Answer #1

The given set of equations can be written in matrix form as:

and then using the MATLAB operator, we can solve the system as:

MATLAB Code:

close all
clear
clc

X = [1 1 0 0 0 1 0 0 0;
0 1 1 1 0 0 0 0 0;
0 0 0 1 1 0 0 0 0;
0 0 0 0 0 0 0 1 1;
0 0 0 0 0 1 1 1 1;
0 0 0 0 0 1 1 0 0]
Z = [16 15 13 14 20 6]'
Y = XZ
disp('X*Y = ')
disp(X*Y) % For verification

Output:

X =
1 1 0 0 0 1 0 0 0
0 1 1 1 0 0 0 0 0
0 0 0 1 1 0 0 0 0
0 0 0 0 0 0 0 1 1
0 0 0 0 0 1 1 1 1
0 0 0 0 0 1 1 0 0
Z =
16
15
13
14
20
6
Warning: Rank deficient, rank = 5, tol = 3.461333e-15.
> In script_164 (line 12)

Y =
0
10.0000
-8.0000
13.0000
0
6.0000
0
14.0000
0
X*Y =
16.0000
15.0000
13.0000
14.0000
20.0000
6.0000

Hence, the solution is:

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
A partially solved PERT problem is detailed in the table below. Times are given in weeks....
A partially solved PERT problem is detailed in the table below. Times are given in weeks. Activity Immediate Predecessor(s) Optimistic Most Likely Pessimistic A -- 8 10 15 B -- 7 8 9 C A 5 6 10 D A 3 3 3 E B,D 1 5 9 F B,D 4 7 10 G C 3 8 10 H E 5 7 9 I E 4 5 8 J F 2 5 8 K H, I 1 3 6 a)...
9. Let S = {a,b,c,d,e,f,g,h,i,j}. a. is {{a}, {b, c}, {e, g}, {h, i, j}} a...
9. Let S = {a,b,c,d,e,f,g,h,i,j}. a. is {{a}, {b, c}, {e, g}, {h, i, j}} a partition of S? Explain. b. is {{a, b}, {c, d}, {e, f}, {g, h}, {h, i, j}} a partition of S? Explain. c. is {{a, b}, {c, d}, {e, f}, {g, h}, {i, j}} a partition of S? Explain.
Data Set A: 11, 12, 13 Data Set B: 9, 10, 11, 12, 13, 14, 15...
Data Set A: 11, 12, 13 Data Set B: 9, 10, 11, 12, 13, 14, 15 Data Set C: 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 Find the mean, sample standard deviation–treating the data as a sample, and the population standard deviation–treating the data as a population.
Answer part a and b of question. (I will give a negative rating if you solved...
Answer part a and b of question. (I will give a negative rating if you solved just one part) a) Find the 85th Percentile of the data set. b) For a population represented by the sample data sets, suppose a vehicle is travelling at 40mph while the driver shifts his focus and fixates on a road object. Estimate a value for the distance traveled during the process that could be exceeded by this driver with a probability of 15%. DATA...
Using this matrix. A = a b c d e f g h i Suppose that...
Using this matrix. A = a b c d e f g h i Suppose that det(A) = 5. Find the determinant of the following matrix. B = a + 3g b + 3h c + 3i -g -h -i 4d 4e 4f
Differentiate the function. a) f(x) = x5 − 4x + 5 b) h(x) = (x −...
Differentiate the function. a) f(x) = x5 − 4x + 5 b) h(x) = (x − 5)(4x + 13) c) B(y) = cy−9 d) A(s) = −14/s^5 e) y = square root/x (x-8) f) y = 8x^2 + 2x + 6 / square root/x g) g(u) = square root/6u + square root/5u h) H(x) = (x + x^−1)^3
Correctly match the following:       -       A.       B.       C....
Correctly match the following:       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.    sacrum       -       A.       B.       C.       D.       E.       F.       G.       H.       I.       J.    ilium       -       A....
How many permutations of the set {A, B, C, D, E, F, G, H} a) Contain...
How many permutations of the set {A, B, C, D, E, F, G, H} a) Contain the string DEF? b) Contain the strings ABE and EFG? c)Have D next to C? d) Contain the strings DCB and BAD?
The following information is known about a project: a. Draw a network diagram b. Calculate the...
The following information is known about a project: a. Draw a network diagram b. Calculate the ES, EF, LS, LF and slack time and find the critical path for this project Activity Activity Time (days) Immediate Predecessor A 12 B 9 C 10 A D 10 A,B E 24 B F 10 A G 35 C H 40 D I 15 A J 4 E,G,H K 6 F,I,J
Write a C++ program to demonstrate thread synchronization. Your main function should first create a file...
Write a C++ program to demonstrate thread synchronization. Your main function should first create a file called synch.txt. Then it will create two separate threads, Thread-A and Thread-B. Both threads will open synch.txt and write to it. Thread-A will write the numbers 1 - 26 twenty times in nested for loops then exit. In other words, print 1 - 26 over and over again on separate lines for at least 20 times. Thread-B will write the letters A - Z...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT