summaryrefslogtreecommitdiff
path: root/1445/CH1/EX1.1/ch1_ex_1.sce
blob: cd58dd7a793421e2d4bcfe0f3231a57926c8ee56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS 
//Example 1

disp("CHAPTER 1");
disp("EXAMPLE 1");

//VARIABLE INITIALIZATION
nob=14;                       //number of branches
non=8;                        //number of nodes

//SOLUTION
nole=nob-non+1;               //number of loop equations 
disp(sprintf("The total number of independent loop equations are %d",nole));

//END