summaryrefslogtreecommitdiff
path: root/620/CH10/EX10.11/example10_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH10/EX10.11/example10_11.sce')
-rw-r--r--620/CH10/EX10.11/example10_11.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/620/CH10/EX10.11/example10_11.sce b/620/CH10/EX10.11/example10_11.sce
new file mode 100644
index 000000000..7c6f2eb86
--- /dev/null
+++ b/620/CH10/EX10.11/example10_11.sce
@@ -0,0 +1,11 @@
+i1=4*10^(-3);
+i2=6*10^(-3);
+v=12;
+r1=2*10^3;
+r2=4*10^3;
+r4=10^3;
+rl=3*10^3;
+v1=i1*r1;
+v2=i2*r2;
+i=(v2-v1-v)/(r1+r2+r4+rl);
+disp("the load current (in mA) is"); disp(i*10^3); \ No newline at end of file