diff options
Diffstat (limited to '3669/CH4/EX4.2/2.sce')
-rw-r--r-- | 3669/CH4/EX4.2/2.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3669/CH4/EX4.2/2.sce b/3669/CH4/EX4.2/2.sce new file mode 100644 index 000000000..37e770be6 --- /dev/null +++ b/3669/CH4/EX4.2/2.sce @@ -0,0 +1,15 @@ +
+//Variable declaration
+e=1.6*10**-19;
+m=9.1*10**-31; //mass(kg)
+h=6.626*10**-34; //planck's constant
+lamda=1.66*10**-10; //wavelength(m)
+
+//Calculation
+v=h/(m*lamda); //velocity(m/s)
+E=h**2/(2*m*e*lamda**2); //kinetic energy(eV)
+
+//Result
+printf('velocity is %0.3f *10**4 m/s \n',(v/10**4))
+printf('answer varies due to approximating off errors\n')
+printf('kinetic energy is %0.3f eV \n',(E))
\ No newline at end of file |