diff options
Diffstat (limited to '620/CH10/EX10.14/example10_14.sce')
-rw-r--r-- | 620/CH10/EX10.14/example10_14.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/620/CH10/EX10.14/example10_14.sce b/620/CH10/EX10.14/example10_14.sce new file mode 100644 index 000000000..5be74f7c2 --- /dev/null +++ b/620/CH10/EX10.14/example10_14.sce @@ -0,0 +1,13 @@ +r1=0.4;
+r2=1;
+rl=2;
+v1=12;
+v2=15;
+disp("Part a");
+vx=(v1/r1+v2/r2)/(1/r1+1/r2+1/rl);
+disp("load voltage (in V) is"); disp(vx);
+il=vx/rl;
+disp("the load current (in A) is"); disp(il);
+disp("Part b");
+ib=(vx-v1)/r1;
+disp("the battery current (in A) is"); disp(ib);
\ No newline at end of file |