summaryrefslogtreecommitdiff
path: root/1628/CH3/EX3.2/Ex3_2.sce
blob: a21d9bacbaecfef91af3a48f2c392e73986df838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26


                             // Examle 3.2

w=0.2;                       // Energy stored
i=0.2;                       // Current
L1=(2*w)/i^2;                // The value of Inductor Using case-1
disp(' The value of Inductor Using case-1 = '+string(L1)+' H');

v=10;                        // Voltage
di1=0.1;                     // Increase current
dt1=0.2;                     // Time required 
L2=v/(di1/dt1);              // The value of Inductor Using case-2
disp(' The value of Inductor Using case-2 = '+string(L2)+' H');


p=2.5;                       // Power 
di2=0.1;                     // Increase current
dt2=0.5;                     // Time required 
L3=p/(di2*dt2);              // The value of Inductor Using case-3
disp(' The value of Inductor Using case-3 = '+string(L3)+' H');




              //  p 54     3.2