blob: cdec24abb187287da8f7eb5515e064a5f1910afd (
plain)
1
2
3
4
5
6
7
|
//ques-19.3
//Calculating momentum of a particle
clc
v=6.5*10^7;//velocity (in m/s)
w=5*10^-11;//wavelength (in m)
p=(6.625*10^-34)/w;
printf("The momentum of the particle is %.2f*10^-23 kg m/s.",p*10^23);
|