summaryrefslogtreecommitdiff
path: root/3769/CH8/EX8.12/Ex8_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH8/EX8.12/Ex8_12.sce')
-rw-r--r--3769/CH8/EX8.12/Ex8_12.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3769/CH8/EX8.12/Ex8_12.sce b/3769/CH8/EX8.12/Ex8_12.sce
new file mode 100644
index 000000000..fee128301
--- /dev/null
+++ b/3769/CH8/EX8.12/Ex8_12.sce
@@ -0,0 +1,11 @@
+clear
+//Given
+r=0.02 //m
+u=4*3.14*10**-7 //T/A m
+I=12 //A
+
+//Calculation
+B=u*I/(4*r)
+
+//Result
+printf("\n The magnitude of magnetic field is %0.2f *10**-4 T",B*10**4)