Question: Repeat Problem 1-16 using MATLAB to perform the calculations. Create a vector for the voltage values, (v=left[begin{array}{ll}15 & 5end{array}ight.) 10-10 20 20 (]), and a
Repeat Problem 1-16 using MATLAB to perform the calculations. Create a vector for the voltage values, \(v=\left[\begin{array}{ll}15 & 5\end{array}ight.\) 10-10 20 20 \(]\), and a vector for the current values, \(i=\left[\begin{array}{lll}-1 & 1 & 2\end{array}ight.\) \(\left.\begin{array}{lll}-1 & -3 & 2\end{array}ight]\). 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.
Data From Problem 1-16
Figure P1-16 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 as follows:

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.

v (V) i (A) Device 1 15 -1 Device 2 5 1 Device 3 10 2 v (V) i (A) -1 Device 4-10 Device 5 20 Device 6 20 -3 2
Step by Step Solution
3.38 Rating (160 Votes )
There are 3 Steps involved in it
The following MATLAB code provides the solution device 1 2 3 4 5 6 ... View full answer
Get step-by-step solutions from verified subject matter experts
