blob: c5f3a02b5eb662dfc017a1910c6a5e936d2ad0f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 1
clc;
disp("CHAPTER 1");
disp("EXAMPLE 1");
//VARIABLE INITIALIZATION
b=14; //number of branches
n=8; //number of nodes
//SOLUTION
m=b-n+1; //number of loop equations
disp(sprintf("The total number of independent loop equations are %d",m));
//END
|