Repeat Problem 1−22 using MATLAB to perform the calculations. Create a vector for the voltage values, v = [15 5 10 −10 20 20 ], and a vector for the current values, i = [−1 1 2 1 3 2]. Compute the corresponding vector for the power values, p, using element-by-element multiplication (.*) and then use the sum command to verify the power balance.
Problem 1−22
Figure P1−22 shows an electric circuit with a voltage and a current variable assigned to each of the six devices. The device voltages and currents are observed to be
| v(V) | i(A) |
Device 1 | 15 | −1 |
Device 2 | 5 | 1 |
Device 3 | 10 | 2 |
Device 4 | −10 | −1 |
Device 5 | 20 | −3 |
Device 6 | 20 | 2 |
Find the power associated with each device and state whether the device is absorbing or delivering power. Use the power balance to check your work.
Figure P1−22

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.