summaryrefslogtreecommitdiff
path: root/1026/CH11/EX11.2/Example11_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1026/CH11/EX11.2/Example11_2.sce')
-rwxr-xr-x1026/CH11/EX11.2/Example11_2.sce17
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