summaryrefslogtreecommitdiff
path: root/3769/CH8/EX8.23/Ex8_23.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH8/EX8.23/Ex8_23.sce')
-rw-r--r--3769/CH8/EX8.23/Ex8_23.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3769/CH8/EX8.23/Ex8_23.sce b/3769/CH8/EX8.23/Ex8_23.sce
new file mode 100644
index 000000000..4740aaccc
--- /dev/null
+++ b/3769/CH8/EX8.23/Ex8_23.sce
@@ -0,0 +1,17 @@
+clear
+//Given
+r1=20
+r2=25
+I=2 //a
+
+//Calculation
+//
+r=(r1+r2)/2.0
+l=(2*%pi*r)*10**-2
+n=1500/l
+u=4*%pi*10**-7
+B=u*n*I
+
+//Result
+printf("\n (i) Magnetic field inside the toroid is %0.3f T",B)
+printf("\n (ii) magnetic field outside the toroid is zero")