summaryrefslogtreecommitdiff
path: root/3014/CH1/EX1.3/Ex1_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3014/CH1/EX1.3/Ex1_3.sce')
-rwxr-xr-x3014/CH1/EX1.3/Ex1_3.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3014/CH1/EX1.3/Ex1_3.sce b/3014/CH1/EX1.3/Ex1_3.sce
new file mode 100755
index 000000000..f0af4190c
--- /dev/null
+++ b/3014/CH1/EX1.3/Ex1_3.sce
@@ -0,0 +1,10 @@
+clc
+// Given that
+m = 1e-30 // Mass of any object in Kg
+v = 1e5 // velocity of object in m/s
+h = 6.625e-34 // Plank constant
+
+printf("Example 1.3")
+lambda = h/(m*v) // calculation of de Broglie wavelength
+
+printf("\n de Broglie wavelength of body is %e m.\n\n\n",lambda)