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

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

// Variable
delta_x = 1 * 10 ** -10         // Uncertainty in Velocity, m

// Solution
delta_v = h / (4 * pi * m * delta_x)

mprintf( "Uncertainty in position of electron >= :%.1e m/s",delta_v)