summaryrefslogtreecommitdiff
path: root/3769/CH8/EX8.13/Ex8_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH8/EX8.13/Ex8_13.sce')
-rw-r--r--3769/CH8/EX8.13/Ex8_13.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3769/CH8/EX8.13/Ex8_13.sce b/3769/CH8/EX8.13/Ex8_13.sce
new file mode 100644
index 000000000..a0fe49128
--- /dev/null
+++ b/3769/CH8/EX8.13/Ex8_13.sce
@@ -0,0 +1,16 @@
+clear
+//Given
+v=4*10**6
+r=0.5*10**-10
+e=1.6*10**-19
+t=1
+u=4*3.14*10**-7 //T/A m
+
+//Calculation
+//
+f=v/(2.0*%pi*r)
+I=f*e/t
+B=u*I/(2*r)
+
+//Result
+printf("\n Magnetic field produced by the electrons is %0.1f T",B)