summaryrefslogtreecommitdiff
path: root/3014/CH1/EX1.3/Ex1_3.sce
blob: f0af4190c99db75043fb03a49ca7c9f8f3682b4e (plain)
1
2
3
4
5
6
7
8
9
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)