summaryrefslogtreecommitdiff
path: root/343/CH1/EX1.68/ex_68.sce
diff options
context:
space:
mode:
Diffstat (limited to '343/CH1/EX1.68/ex_68.sce')
-rwxr-xr-x343/CH1/EX1.68/ex_68.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/343/CH1/EX1.68/ex_68.sce b/343/CH1/EX1.68/ex_68.sce
new file mode 100755
index 000000000..7964f755c
--- /dev/null
+++ b/343/CH1/EX1.68/ex_68.sce
@@ -0,0 +1,12 @@
+R1=10; //Assigning values to parameters
+R2=20;
+R3=40;
+R4=30;
+R5=15;
+V=2;
+I1=V/(R1+R4);
+I2=V/(R2+R5);
+Vth=R2*I2-R1*I1; //Calculation of Thevenin voltage
+Rth=((R1*R4)/(R1+R4))+((R2*R5)/(R2+R5)); //Calculation of Thevenin resistance
+Il=Vth/(Rth+R3);
+disp("Amperes",Il,"Load current") \ No newline at end of file