summaryrefslogtreecommitdiff
path: root/620/CH10/EX10.7
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /620/CH10/EX10.7
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '620/CH10/EX10.7')
-rw-r--r--620/CH10/EX10.7/example10_7.sce13
-rw-r--r--620/CH10/EX10.7/example10_7.txt3
2 files changed, 16 insertions, 0 deletions
diff --git a/620/CH10/EX10.7/example10_7.sce b/620/CH10/EX10.7/example10_7.sce
new file mode 100644
index 000000000..3dd6faabb
--- /dev/null
+++ b/620/CH10/EX10.7/example10_7.sce
@@ -0,0 +1,13 @@
+r1=10^3;
+r2=2*10^3;
+r3=3*10^3;
+r4=4*10^3;
+r5=5*10^3;
+v1=10;
+v2=20;
+vr2=v1*r2/(r1+r2);
+vr4=v2*r4/(r4+r5);
+vth=vr4-vr2;
+rth=r1*r2/(r1+r2)+r4*r5/(r4+r5);
+i=vth/(rth+r3);
+disp("the current (in mA) through R3 is"); disp(i*10^3); \ No newline at end of file
diff --git a/620/CH10/EX10.7/example10_7.txt b/620/CH10/EX10.7/example10_7.txt
new file mode 100644
index 000000000..9cc977c61
--- /dev/null
+++ b/620/CH10/EX10.7/example10_7.txt
@@ -0,0 +1,3 @@
+the current (in mA) through R3 is
+
+ 0.3773585 \ No newline at end of file