diff options
Diffstat (limited to '2672/CH1/EX1.25/Ex1_25.sce')
-rwxr-xr-x | 2672/CH1/EX1.25/Ex1_25.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2672/CH1/EX1.25/Ex1_25.sce b/2672/CH1/EX1.25/Ex1_25.sce new file mode 100755 index 000000000..8161fef5b --- /dev/null +++ b/2672/CH1/EX1.25/Ex1_25.sce @@ -0,0 +1,22 @@ +//Example 1_25
+clc;
+clear;
+close;
+format('v',6);
+//given data :
+V1=2;//V
+R1=10;//ohm
+R2=20;//ohm
+R3=40;//ohm
+R4=30;//ohm
+R5=15;//ohm
+//solution
+VBC=R4/(R4+R1)*V1;//V
+VDC=R5/(R2+R5)*V1;//V
+VBD=VBC-VDC;//V
+Vth=VBD;//V
+Req=R1*R4/(R1+R4)+R2*R5/(R2+R5);//ohm
+//Thevenin equivalent current
+IL=Vth/(Req+R3);//A
+IL=IL*1000;//mA
+disp(IL,"Current through BD, from B to D(mA)");
|