summaryrefslogtreecommitdiff
path: root/1544/CH5/EX5.19/Ch05Ex19.sce
blob: 8ad1a1c575c732105d68bf5f4e799a833eed041f (plain)
1
2
3
4
5
6
7
8
9
10
11
// Scilab code Ex5.19: Pg 176 (2008)
clc; clear;
e = 30;                   // Induced emf, V
// For simplicity, let rate of change of current i.e delta_I/delta_t = k
k = 200;                               // Rate of change of current, ampere-second
// Since e = ((-L)*delta_I)/(delta_t), solving for L
L = e/k;                               // Self-inductance, H
printf("\nThe inductance of the circuit = %4.2f H", L);

// Result
// The inductance of the circuit = 0.15 H