summaryrefslogtreecommitdiff
path: root/620/CH9/EX9.1/example9_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH9/EX9.1/example9_1.sce')
-rw-r--r--620/CH9/EX9.1/example9_1.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/620/CH9/EX9.1/example9_1.sce b/620/CH9/EX9.1/example9_1.sce
new file mode 100644
index 000000000..cf5ea2625
--- /dev/null
+++ b/620/CH9/EX9.1/example9_1.sce
@@ -0,0 +1,17 @@
+v=6.5;
+r=2.5;
+rl=10;
+disp("Part a");
+i=v/(r+rl);
+disp("the current (in A) through the load is"); disp(i);
+disp("Part b");
+vr=i*r;
+disp("the internal voltage drop (in V) is"); disp(vr);
+disp("Part c");
+vt=v-vr;
+disp("the terminal voltage (in V) of the battery under load is"); disp(vt);
+disp("Part d");
+r1=5;
+i1=v/(r1+rl);
+vt1=v-i1*r1;
+disp("the terminal voltage (in V) of the battery is"); disp(vt1) \ No newline at end of file