blob: d201ad9442b42e15cd232a998db40ecc39e00578 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Chapter 5, Example 5.3
clc
//Initialisation'
di=3 //change in current w.r.t time
l=10*10**-3 //inductance in henry
//Calculation
v=l*di //voltage induced
//Results
printf("Voltage Induced V = %d mV",v*10**3)
|