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.
Given that A to Z are mapped to integers 0-25 as follows. A:0, B:1, C:2, D:3,...
Given that A to Z are mapped to integers 0-25 as follows. A:0, B:1, C:2, D:3, E:4, F:5, G:6, H:7, I: 8, J: 9, K:10, L:11, M:12, N:13, O:14, P:15, Q:16, R:17, S:18, T:19, U:20, V:21, W:22, X:23, Y:24, Z:25. Encrypt the following message using Vigenere Cipher with key: CIPHER THISQUIZISEASY What is the ciphertext? Show your work. PLEASE HELP
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...
Use the following table to answer the following question Activity Immediate Predecessor Time ES EF LS...
Use the following table to answer the following question Activity Immediate Predecessor Time ES EF LS LF A - 4 0 4 6 10 B - 5 0 5 0 5 C A 3 4 7 10 13 D B 8 5 13 5 13 E B 2 5 7 16 18 F C, D 3 13 16 15 18 G C, D 7 13 20 13 20 H E, F 2 16 18 18 20 How long can activity...
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?
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT