summaryrefslogtreecommitdiff
path: root/3411/CH9/EX1.3.u2/Ex1_3_u2.sce
blob: 0246037b96a8270f11867c62c9c5cb24145de507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Example 1_3_u2
clc();
clear;
//To calculate the uncertenity in momentum
h=6.63e-34                 //units in m^2 kg s^-1
deltax=1         //units in nm
deltax=deltax*10^-9                //units in meters
deltap=h/(4*%pi*deltax)          //units in Kg meter s^-1
printf("The uncertenity in momentum is delta p=")
disp(deltap)
printf("Kg ms^-1")
//In text book the answer is printed wrong as 0.53*10^-15 Kg ms^-1 the correct answer is  5.276D-26  Kg ms^-1