From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1544/CH4/EX4.3/Ch04Ex3.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 1544/CH4/EX4.3/Ch04Ex3.sce (limited to '1544/CH4/EX4.3/Ch04Ex3.sce') diff --git a/1544/CH4/EX4.3/Ch04Ex3.sce b/1544/CH4/EX4.3/Ch04Ex3.sce new file mode 100755 index 000000000..cda33f323 --- /dev/null +++ b/1544/CH4/EX4.3/Ch04Ex3.sce @@ -0,0 +1,14 @@ +// Scilab code Ex4.3: Pg 117 (2008) +clc; clear; +N = 1500; // Number of turns in a coil +A = 5e-04; // Cross- sectional area of of coil, metre-square +phi = 0.2e-03; // Flux, Wb +I = 0.75; // Coil-current, A +// Since m.m.f is the product of the current and the number of turns, therefore, we have +F = N*I; // Magnetomotive force, At +B = phi/A; // Flux density, T +printf("\The m.m.f and flux density produced are %4d At and %3.1f T respectively", F, B); + +// Result +// The m.m.f and flux density produced are 1125 At and 0.4 T respectively + -- cgit