diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2345/CH15/EX15.24/Ex15_24.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2345/CH15/EX15.24/Ex15_24.sce')
-rwxr-xr-x | 2345/CH15/EX15.24/Ex15_24.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2345/CH15/EX15.24/Ex15_24.sce b/2345/CH15/EX15.24/Ex15_24.sce new file mode 100755 index 000000000..10c99412c --- /dev/null +++ b/2345/CH15/EX15.24/Ex15_24.sce @@ -0,0 +1,15 @@ +//Finding flux and field strength
+//Example 15.24(pg. 408)
+clc
+clear
+N=600//number of turns on the coil
+I=2//current passing through solenoid in A
+l=0.6//length of solenoid in meter
+H=N*I/l//magnetic field at the centre in AT/m
+Ur=1//relative permeability
+Uo=4*%pi*(10^-7)//permeability
+d=0.025//diameter in meters
+a=%pi*(d^2)/4//cross sectional area of coil in m^2
+phi=Uo*Ur*H*a//flux in Wb
+printf('Thus Magenetic field at centre is %3.2f AT/m',H)
+printf('\n and Flux is %e Wb',phi)
|