blob: d3be5cdccefbc9a5b61e690112c2c7a915801617 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//
//
//
//Variable declaration
h=6.6*10^-34; //planck's constant(J-sec)
deltax=4*10^-10; //uncertainity in position of electron(m)
//Calculations
delta_px=h/deltax; //uncertainity in momentum(kg m/sec)
//Result
printf("\n uncertainity in momentum is %e kg m/sec",delta_px)
|