summaryrefslogtreecommitdiff
path: root/3769/CH12/EX12.17/Ex12_17.sce
blob: 554917e9582108400e2d267940355b342fcf7226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
L=10.0                       //H
e=300                        //V
t=10**-2                       //S

//Calculation
dl=(e*t)/L
a=e*t

//Result
printf("\n Charge in magnetic flux is %0.3f  Wb", a)