From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 620/CH13/EX13.9/example13_9.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 620/CH13/EX13.9/example13_9.sce (limited to '620/CH13/EX13.9/example13_9.sce') diff --git a/620/CH13/EX13.9/example13_9.sce b/620/CH13/EX13.9/example13_9.sce new file mode 100644 index 000000000..7616d0465 --- /dev/null +++ b/620/CH13/EX13.9/example13_9.sce @@ -0,0 +1,18 @@ +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/(r2+rx); +disp("the current (in mA) through Rx is"); disp(i*1000); +disp("Part c"); +i1=v/(r1+r3); +p=i1^2*r3; +disp("Power dissipated (in mW) in R is"); disp(p*1000); \ No newline at end of file -- cgit