summaryrefslogtreecommitdiff
path: root/3401/CH2/EX2.4/Ex2_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3401/CH2/EX2.4/Ex2_4.sce')
-rwxr-xr-x3401/CH2/EX2.4/Ex2_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3401/CH2/EX2.4/Ex2_4.sce b/3401/CH2/EX2.4/Ex2_4.sce
new file mode 100755
index 000000000..cafb61e77
--- /dev/null
+++ b/3401/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,12 @@
+clc
+
+v=10^5// m/s
+m=9.11*10^-31// kg*m/s
+e=1.6*10^-19// eV
+h=1.054*10^-34
+E=0.5*m*v*v
+disp(E,"the value of E in J is eV")
+E1=E/e // value of E in eV
+disp(E1,"eV=")
+d=sqrt((h*h)/(2*m*E))
+disp(d,"the value of d in m is ")