summaryrefslogtreecommitdiff
path: root/3835/CH1/EX1.13/Ex1_13.sce
blob: 527f55d3c748a934774820144dc256ba6843bec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//
//values are obtained from the graph
i=10 //10t A for 0 to 1 second
d=10 //where di/dt is 10
L=2
// at one second
v=L*d
printf("\n v= %0.1f  v",v)
//for 1 to 5 seconds
d=-5
//at t=3 seconds voltage across the inductor is
v=L*d
printf("\n v= %0.1f  v",v)