blob: 75e7163d8f8a2b4959ad11dcbfaf6f48958dea00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear//
//Variables
fo = 22.0 * 10**3 //Frequency (in Hertz)
C = 2.0 * 10**-9 //Capacitance (in Farad)
//Calculation
L = (0.159/fo)**2/C //Inductance (in Henry)
//Result
printf("\n Inductance is %0.3f H.",L)
|