diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1523/CH3/EX3.15/3_15.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1523/CH3/EX3.15/3_15.sce')
-rwxr-xr-x | 1523/CH3/EX3.15/3_15.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/1523/CH3/EX3.15/3_15.sce b/1523/CH3/EX3.15/3_15.sce new file mode 100755 index 000000000..b7e0a4b6f --- /dev/null +++ b/1523/CH3/EX3.15/3_15.sce @@ -0,0 +1,21 @@ +//Network Theorem 2 +//pg no 3.16 +//example 3.15 +a=10; +b=2; +c=(5*a)-(20*b); +x=20; +y=30; +z=5; +r=z+((x*y)/(x+y)); +i=c/(r+c); +//Calculation of Vth(Thevenin's voltage) +disp("removing the 10 ohm resistor from the circuit"); +printf("\nFor mesh 1, \nI1 = %.f A",a); +printf("\nApplying KVL to mesh 2,, \nI2 = %.f A",b); +printf("\nWriting Vth equation, \n Vth = %.f V",c); +//Calculation of Rth(Thevenin's Resistance) +disp("replacing the current source of 10 A with an open circuit and voltage source of 100 V with a short circuit,"); +printf("\nRth = %.f Ohm",r); +//Calculation of IL(load current) +printf("\nIL = %.2f A",i);
\ No newline at end of file |