summaryrefslogtreecommitdiff
path: root/620/CH13/EX13.8/example13_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH13/EX13.8/example13_8.sce')
-rw-r--r--620/CH13/EX13.8/example13_8.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/620/CH13/EX13.8/example13_8.sce b/620/CH13/EX13.8/example13_8.sce
new file mode 100644
index 000000000..5b23ae1dc
--- /dev/null
+++ b/620/CH13/EX13.8/example13_8.sce
@@ -0,0 +1,17 @@
+r1=3.3*10^(3);
+r2=1.2*10^(3);
+r3=310;
+p1=1;
+p2=0.1;
+disp("Part a");
+rx=r2*r3/r1;
+disp("The unknown resistance (in Ω) is"); disp(rx);
+e=2*p1+p2;
+disp("the maximum possible error (in %) is"); disp(e);
+disp("Part b");
+v=9;
+i=v/(r3+rx);
+disp("the current (in mA) through Rx is"); disp(i*1000);
+disp("Part c");
+p=i^2*r3;
+disp("The power dissipated (in mW) is"); disp(p*1000); \ No newline at end of file