summaryrefslogtreecommitdiff
path: root/3850/CH36/EX36.1
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3850/CH36/EX36.1
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3850/CH36/EX36.1')
-rw-r--r--3850/CH36/EX36.1/Ex36_1.sce40
-rw-r--r--3850/CH36/EX36.1/Ex36_1.txt2
2 files changed, 42 insertions, 0 deletions
diff --git a/3850/CH36/EX36.1/Ex36_1.sce b/3850/CH36/EX36.1/Ex36_1.sce
new file mode 100644
index 000000000..4f9781484
--- /dev/null
+++ b/3850/CH36/EX36.1/Ex36_1.sce
@@ -0,0 +1,40 @@
+
+//To Find the Magnetic Field on Axis of Solenoid
+
+//Example 36.1
+
+clear;
+
+clc;
+
+i=10;//Current carried by Solenoid in Amperes
+
+r=1*10^-2;//Radius of Solenoid in metres
+
+A=%pi*r^2;//Area of Cross Section of Solenoid in metre^2
+
+u=i*A;//Dipole Moment of each turn
+
+l=10*10^-2;//Length of Solenoid in metres
+
+R=10*10^-2;//Distance of point P from the centre of solenoid
+
+n=200;//Number of turns in Solenoid
+
+d=l/n;//Seperation between two consecutive turns
+
+m=u/d;//Pole Strength for each Current Loop
+
+k=1*10^-7;//Constant (u0/(4*pi))
+
+Rn=R-(l/2);//Distance of point P from North Pole
+
+Bn=k*m/Rn^2;//Magnetic Field at P due to North Pole
+
+Rs=R+(l/2);//Distance of point P from South Pole
+
+Bs=k*m/(Rs)^2;//Magnetic Field at P due to South Pole
+
+B=Bn-Bs;//Resultant Magnetic Field at point P
+
+printf("Magnetic field at a point on the axis of Solenoid at a distance of 10cm from centre = %.1f*10^-4 T away from the solenoid",B*10^4);
diff --git a/3850/CH36/EX36.1/Ex36_1.txt b/3850/CH36/EX36.1/Ex36_1.txt
new file mode 100644
index 000000000..5f8a2768d
--- /dev/null
+++ b/3850/CH36/EX36.1/Ex36_1.txt
@@ -0,0 +1,2 @@
+
+ Magnetic field at a point on the axis of Solenoid at a distance of 10cm from centre = 2.2*10^-4 T away from the solenoid \ No newline at end of file