summaryrefslogtreecommitdiff
path: root/1427/CH19/EX19.17/19_17.sce
blob: 41c301fd9bbaf5a3eeb8bbe0138f15f4e3940fa0 (plain)
1
2
3
4
5
6
7
8
//ques-19.17
//Calculating mass of a particle
clc
dx=9.54*10^-10;//uncertainity in position (in m)
dv=5.5*10^-20;//uncertainity in velocity (in m/s)
h=6.6*10^-34;//(in Js)
m=h/(4*%pi*dx*dv);
printf("The mass of the particle is %d mg.",m*10^6);