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 /2672/CH1/EX1.22 | |
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 '2672/CH1/EX1.22')
-rwxr-xr-x | 2672/CH1/EX1.22/Ex1_22.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/2672/CH1/EX1.22/Ex1_22.sce b/2672/CH1/EX1.22/Ex1_22.sce new file mode 100755 index 000000000..ab79e5eea --- /dev/null +++ b/2672/CH1/EX1.22/Ex1_22.sce @@ -0,0 +1,28 @@ +//Example 1_22
+clc;
+clear;
+close;
+format('v',6);
+//given data :
+V1=24;//V
+V2=12;//V
+R1=4;//ohm
+R2=5;//ohm
+R3=3;//ohm
+R4=5;//ohm
+R5=3;//ohm
+RL=10;//ohm
+//Open circuit AB
+I=V1/(R1+R2+R3);//A
+//Potential of point A
+VBQ=0;//V//there is no current
+VPS=0;//V//there is no current
+VQP=I*(R2+R3);//V
+VSA=V2;//V
+//Potential of point A with respect to B
+VAB=VBQ+VQP+VPS-VSA;//V
+VOC=VAB;//V
+Req=R1*(R2+R3)/(R1+R2+R3)+R4+R5;//ohm
+//Thevenin equivalent current
+I=VOC/(Req+RL);//A
+disp(I,"Current flowing through load resistance(A)");
|