summaryrefslogtreecommitdiff
path: root/1016/CH5/EX5.8
diff options
context:
space:
mode:
Diffstat (limited to '1016/CH5/EX5.8')
-rwxr-xr-x1016/CH5/EX5.8/ex5_8.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1016/CH5/EX5.8/ex5_8.sce b/1016/CH5/EX5.8/ex5_8.sce
new file mode 100755
index 000000000..f38273263
--- /dev/null
+++ b/1016/CH5/EX5.8/ex5_8.sce
@@ -0,0 +1,12 @@
+clc;clear;
+//Example 5.8
+
+//given values
+W=5200*10^-10;//wavelength in m
+h=6.625*10^-34;//Plank's constant
+m=9.12*10^-31;//mass of electron in kg
+
+//calculations
+p=h/W;
+v=p/m;
+disp(v,'the velocity in m/s') \ No newline at end of file