summaryrefslogtreecommitdiff
path: root/3875/CH10/EX10.16/10_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '3875/CH10/EX10.16/10_16.sce')
-rw-r--r--3875/CH10/EX10.16/10_16.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3875/CH10/EX10.16/10_16.sce b/3875/CH10/EX10.16/10_16.sce
new file mode 100644
index 000000000..08cbd5717
--- /dev/null
+++ b/3875/CH10/EX10.16/10_16.sce
@@ -0,0 +1,16 @@
+clc;
+clear;
+h=6.63*10^-34 //plancks constant in J-s
+c=3*10^8 //velocity of light in m/s
+lambda=180*10^-9 //wavelength in m
+W=2*1.6*10^-19 //work function in Joule
+m=9.1*10^-31 //mass in kg
+e=1.6*10^-19 //charge in C
+B=5*10^-5 //magnetic flux density in Tesla
+
+//calculation
+E=((h*c)/lambda)-W //kinetic energy in J
+v=sqrt((2*E)/m) //velocity in m/s
+r=(m*v)/(e*B)
+
+mprintf("The radius of the circular path in magnetic field is = %1.3f m",r)