summaryrefslogtreecommitdiff
path: root/343/CH1/EX1.68
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /343/CH1/EX1.68
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '343/CH1/EX1.68')
-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