summaryrefslogtreecommitdiff
path: root/1628/CH5/EX5.2/Ex5_2.sce
blob: 24004c7e28cbe8649b0bbedd283b43bd954b74bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20



                      // Example  5.2

l=4;               // Layers of Solenoid 
w=350;             // turns Winding
s=0.5;             // Length of Solenoid
n=(l*w)/s;         // No.Of turns
I=6;               // Current in the Solenoid
mo=4*%pi*10^-7;    // Permeability of free Space
B=mo*n*I;          // Formula for Megnetic Field at the centre
disp('(a) Megnitude of field near the Centre of Solenoid = '+string(B)+' Tesla');
B1=B/2;            // Formula for Megnetic Field at the end
disp('(b) Megnitude of field at the end of Solenoid = '+string(B1)+' Tesla');
disp('(c) Megnetic Field outside the solenoid is Negligible');



        //    p 188      5.2