summaryrefslogtreecommitdiff
path: root/1427/CH19/EX19.4/19_4.sce
blob: abe8afb0355dce6dd78d5ea437ceed65193ae0b0 (plain)
1
2
3
4
5
6
//ques-19.4
//Calculating momentum of a particle
clc
w=10^-10;//wavelength (in m)
p=(6.625*10^-34)/w;
printf("The momentum of the particle is %.3f*10^-24 kg m/s.",p*10^24)