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

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

// Variable
lamda = 4.8 * 10 ** -9          // Wavelength of electron, m

// Solution
ke = ((h / lamda) ** 2) / (2 * m)

mprintf("The Kinetic Energy of moving electron is %.2e J",ke)