<< Chapter < Page | Chapter >> Page > |
Our analysis in Example 1 from "Linear Algebra: Circuit Analysis" and Problem 1 from "Linear Algebra: Circuit Analysis" indicates that not enough current will flow through the lamp to make it glow. We now wish to change the resistance of the 100 ohm resistor to a new value so that the lamp will glow. We replace 100 in the equations with an unknown resistance . Equation 2 is unchanged, but Equation 6 becomes
Equation 7 from "Linear Algebra: Circuit Analysis" becomes
The matrix form of these equations is
Write a MATLAB function file calledto accept
as an input and
return the matrix
in
Equation 3 as an output. The first line of your
function file should be
builda
Now choose several values for . For each choice, use your function and solve the resulting matrix equation for the voltages. Each time you choose a different to build a different matrix , check the determinant of A to be sure the equations have a unique solution:
Make a table of and the corresponding values of :
Now add a column to your table for the current through the lamp . Add rows to your table until you have found a value of for which the lamp will glow. ( needs to be between 0.05 and 0.075 ampere.)
Notification Switch
Would you like to follow the 'A first course in electrical and computer engineering' conversation and receive update notifications?