diff options
Diffstat (limited to '3014/CH1/EX1.1/Ex1_1.sce')
-rwxr-xr-x | 3014/CH1/EX1.1/Ex1_1.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3014/CH1/EX1.1/Ex1_1.sce b/3014/CH1/EX1.1/Ex1_1.sce new file mode 100755 index 000000000..6ad049d82 --- /dev/null +++ b/3014/CH1/EX1.1/Ex1_1.sce @@ -0,0 +1,10 @@ + clc
+//given that
+M = 6e24 // Mass of earth in Kg
+v = 3e4 // Orbital velocity of earth in m/s
+h = 6.625e-34 // Plank constant
+
+printf("Example 1.1")
+lambda = h/(M*v) // calculation of de Broglie wavelength
+
+printf("\n de Broglie wavelength of earth is %e m.\n\n\n",lambda)
|