summaryrefslogtreecommitdiff
path: root/3836/CH14/EX14.3/Ex14_3.sce
blob: 95219a99031dd16ad973d4cd4bb5950220a1e78c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Initialization
l=10*10**-3                   //inductance in henry
di=3


//Calculation
v=l*di                            //voltage         

//Results
printf("\n Voltage, V = %d mV",v*10**3)