summaryrefslogtreecommitdiff
path: root/3769/CH23/EX23.1/Ex23_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH23/EX23.1/Ex23_1.sce')
-rw-r--r--3769/CH23/EX23.1/Ex23_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3769/CH23/EX23.1/Ex23_1.sce b/3769/CH23/EX23.1/Ex23_1.sce
new file mode 100644
index 000000000..1752e48cd
--- /dev/null
+++ b/3769/CH23/EX23.1/Ex23_1.sce
@@ -0,0 +1,13 @@
+clear
+//Given
+h=6.62*10**-34 //J
+c=3*10**8 //m/s
+l=4.0*10**-7 //m
+
+//Calculation
+E=((h*c)/l)/1.6*10**-19
+p=h/l
+
+//Result
+printf("\n Value of energy is %0.1f ev",E*10**38)
+printf("\n Momentum of photon is %0.3f kg m/s",p)