summaryrefslogtreecommitdiff
path: root/1628/CH5/EX5.2/Ex5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1628/CH5/EX5.2/Ex5_2.sce')
-rwxr-xr-x1628/CH5/EX5.2/Ex5_2.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1628/CH5/EX5.2/Ex5_2.sce b/1628/CH5/EX5.2/Ex5_2.sce
new file mode 100755
index 000000000..24004c7e2
--- /dev/null
+++ b/1628/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,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