summaryrefslogtreecommitdiff
path: root/1016/CH5/EX5.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1016/CH5/EX5.8
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
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