diff options
Diffstat (limited to '1445/CH1/EX1.28/ch1_ex_28.sce')
-rw-r--r-- | 1445/CH1/EX1.28/ch1_ex_28.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1445/CH1/EX1.28/ch1_ex_28.sce b/1445/CH1/EX1.28/ch1_ex_28.sce new file mode 100644 index 000000000..326f81976 --- /dev/null +++ b/1445/CH1/EX1.28/ch1_ex_28.sce @@ -0,0 +1,20 @@ +//CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS +//Example 28 + +disp("CHAPTER 1"); +disp("EXAMPLE 28"); + +//VARIABLE INITIALIZATION +I1=5; //current source in Amperes +va=100; //voltage source in Volts +r1=20; //in Ohms +r2=10; //in Ohms +r3=20; //in Ohms + +//SOLUTION +In=I1-(va/r1); //since a and b are shorted hence va=vb +rn=r1+((r3*0)/(r3+0)); +I=(rn*In)/(rn+r2); +disp(sprintf("By Norton Theorem, the value of I is %d A",I)); + +//END |