summaryrefslogtreecommitdiff
path: root/3769/CH15/EX15.3/Ex15_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH15/EX15.3/Ex15_3.sce')
-rw-r--r--3769/CH15/EX15.3/Ex15_3.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3769/CH15/EX15.3/Ex15_3.sce b/3769/CH15/EX15.3/Ex15_3.sce
new file mode 100644
index 000000000..d5e4a9706
--- /dev/null
+++ b/3769/CH15/EX15.3/Ex15_3.sce
@@ -0,0 +1,20 @@
+clear
+//Given
+I=0.15 //A
+R=0.12 //m
+r=0.065 //m
+r1=0.15 //m
+
+//Calculation
+//
+A=%pi*R**2
+u=4*%pi*10**-7
+B=(u*I*r)/(2*%pi*R**2)
+B1=(u*I)/(2*%pi*r1)
+Bmax=(u*I)/(2*%pi*R)
+
+//Result
+printf("\n (i) (a) Magnetic field on the axis is zero")
+printf("\n (b) Magnetic field at r=6.5 cm is %0.2f *10**-7 T",B*10**7)
+printf("\n (c) Magnetic field at r=15 cm is %0.3f T", B1)
+printf("\n (ii) Distance is %0.3f T", Bmax)