blob: aa3174d1914df77d3eb0df804883e403cbe6df8f (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 23.7
l=10*10^-2;//Length (m)
mu_0=4*%pi*10^-7;//Permeability of free space (T.m/A)
r=4/2*10^-2;//Radius of solenoid (m)
A=%pi*r^2;//Cross-sectional area (m^2)
N=200;//Number of coils
L=mu_0*N^2*A/l;//Self-inductance (H)
printf('Self-inductance of the solenoid = %0.3f mH',L*1000)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|