diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1026/CH11/EX11.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1026/CH11/EX11.2')
-rwxr-xr-x | 1026/CH11/EX11.2/Example11_2.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1026/CH11/EX11.2/Example11_2.sce b/1026/CH11/EX11.2/Example11_2.sce new file mode 100755 index 000000000..22cdc3d30 --- /dev/null +++ b/1026/CH11/EX11.2/Example11_2.sce @@ -0,0 +1,17 @@ +//chapter11,Example11_2,pg 298
+
+lam=0.2865*10^-10//wavelength
+
+mp=1.67*10^-27//mass of proton
+
+h=6.625*10^-34
+
+v=(h/(mp*lam))//debroglie's equation
+
+KE=0.5*mp*(v^2)//kinetic energy of proton(J)
+
+KE=KE/(1.6*10^-19)//converting into ev
+
+printf("kinetic energy of proton\n")
+
+printf("KE=%.2f ev",KE)
\ No newline at end of file |