diff options
Diffstat (limited to '1445/CH1/EX1.1/ch1_ex_1.sce')
-rw-r--r-- | 1445/CH1/EX1.1/ch1_ex_1.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1445/CH1/EX1.1/ch1_ex_1.sce b/1445/CH1/EX1.1/ch1_ex_1.sce new file mode 100644 index 000000000..cd58dd7a7 --- /dev/null +++ b/1445/CH1/EX1.1/ch1_ex_1.sce @@ -0,0 +1,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 |