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/CH5/EX5.21/Ch05Ex21.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 1544/CH5/EX5.21/Ch05Ex21.sce (limited to '1544/CH5/EX5.21') diff --git a/1544/CH5/EX5.21/Ch05Ex21.sce b/1544/CH5/EX5.21/Ch05Ex21.sce new file mode 100755 index 000000000..291d350eb --- /dev/null +++ b/1544/CH5/EX5.21/Ch05Ex21.sce @@ -0,0 +1,17 @@ +// Scilab code Ex5.21: Pg 178 (2008) +clc; clear; +N = 150; // Number of turns in a coil +I = 10; // Electric current flowing through coil, A +phi = 0.10; // Flux, Wb +delta_t = 0.1; // Time, s +// Part (a) +L = (N * phi)/I // Self-inductance, H +delta_I = 20; // Change in current, A +// Part (b) +e = abs((-L*delta_I)/(delta_t)); // Induced emf, V +printf("\nThe inductance of the coi = %3.1f H", L); +printf("\nThe emf induced in the coil = %2d V", e); + +// Result +// The inductance of the coi = 1.5 H +// The emf induced in the coil = 300 V -- cgit