summaryrefslogtreecommitdiff
path: root/3718/CH1/EX1.4/Ex1_4.sce
blob: 43a2d2b8c6e7c1b6457f6bc3d71c7f0cd3fd9be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Chapter 1: Structure and Bonding
//Problem: 4
clc;

//Declaration of Constants
c = 3 * 10 ** 8                 // Speed of light,in m/sec
m = 9.1 * 10 ** -31             // Mass of electron,in kg
h = 6.626 * 10 ** -34           // Plank's constant,in J.sec

//Declaration of Variable
ke = 4.55 * 10 ** -25           // Kinetic Energy,in J

// Solution
v = sqrt(ke * 2 / m)

lamda = h / (m * v)

mprintf("The de Broglie wavelength is : %.2e m',lamda)