summaryrefslogtreecommitdiff
path: root/1544/CH5/EX5.14/Ch05Ex14.sce
diff options
context:
space:
mode:
Diffstat (limited to '1544/CH5/EX5.14/Ch05Ex14.sce')
-rwxr-xr-x1544/CH5/EX5.14/Ch05Ex14.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1544/CH5/EX5.14/Ch05Ex14.sce b/1544/CH5/EX5.14/Ch05Ex14.sce
new file mode 100755
index 000000000..efca23da3
--- /dev/null
+++ b/1544/CH5/EX5.14/Ch05Ex14.sce
@@ -0,0 +1,15 @@
+// Scilab code Ex5.14: Pg 163-164 (2008)
+clc; clear;
+R_c = 40; // Resistance of coil, ohm
+I_fsd = 5e-04; // Full-scale deflection current, A
+I_fsd = 5e-04; // Full-scale deflection current, A
+V = 10; // Voltage reading range, V
+V_c = 0.02; // Potential difference across coil resistance, V
+// From Ohm's law, V = I_fsd*R, solving for R
+R = V/I_fsd; // Total resistance, ohm
+// Since R = R_m + R_c, solving R_m
+R_m = R - R_c; // Multiplier resistance, ohm
+printf("\nThe required value of multiplier resistance = %5.2f kilo-ohms", R_m*1e-03);
+
+// Result
+// The required value of multiplier resistance = 19.96 kilo-ohms