summaryrefslogtreecommitdiff
path: root/620/CH6/EX6.2
diff options
context:
space:
mode:
Diffstat (limited to '620/CH6/EX6.2')
-rw-r--r--620/CH6/EX6.2/example6_2.sce10
-rw-r--r--620/CH6/EX6.2/example6_2.txtbin0 -> 302 bytes
2 files changed, 10 insertions, 0 deletions
diff --git a/620/CH6/EX6.2/example6_2.sce b/620/CH6/EX6.2/example6_2.sce
new file mode 100644
index 000000000..050bf715f
--- /dev/null
+++ b/620/CH6/EX6.2/example6_2.sce
@@ -0,0 +1,10 @@
+r1=2;
+r2=5;
+r3=10;
+v=25;
+disp("Part a");
+r=1/(1/r1+1/r2+1/r3);
+disp("the total resistance (in Ω) is"); disp(r);
+disp("Part b");
+i=v/r;
+disp("the total current drawn (in A) from the source is"); disp(i); \ No newline at end of file
diff --git a/620/CH6/EX6.2/example6_2.txt b/620/CH6/EX6.2/example6_2.txt
new file mode 100644
index 000000000..d5ac430a2
--- /dev/null
+++ b/620/CH6/EX6.2/example6_2.txt
Binary files differ