summaryrefslogtreecommitdiff
path: root/1760/CH5/EX5.69/EX5_69.sce
diff options
context:
space:
mode:
Diffstat (limited to '1760/CH5/EX5.69/EX5_69.sce')
-rwxr-xr-x1760/CH5/EX5.69/EX5_69.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1760/CH5/EX5.69/EX5_69.sce b/1760/CH5/EX5.69/EX5_69.sce
new file mode 100755
index 000000000..8bb4c9f87
--- /dev/null
+++ b/1760/CH5/EX5.69/EX5_69.sce
@@ -0,0 +1,16 @@
+ //EXAMPLE 5-69 PG NO-349
+V=24; //VOLTAGE
+R1=0.1;
+R2=6;
+R3=5;
+I=V/[R1+(R3*R2)/(R3+R2)];
+I1=I*(R3/(R2+R3));
+I2=I*(R2/(R2+R3));
+VTH=-(I1*2)-(-2*I2);
+RTH=2.533;
+IAB=VTH/(RTH+1);
+disp('ii) CURRENT (I) is = '+string (I) +' A ');
+disp('ii) CURRENT (I1) is = '+string (I1) +' A ');
+disp('ii) CURRENT (I2) is = '+string (I2) +' A ');
+disp('ii) Voltage (VTH) is = '+string (VTH) +' V ');
+disp('ii) CURRENT (IAB) is = '+string (IAB) +' A ');