blob: f4be436cef67b2279a9cbd23af12287cf6c092b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Example 25_11
clc();
clear;
//To describe the diffraction pattern that would be obtained by shooting bullet
h=6.63*10^-34 //units in J
m=10^-4 //Units in Kg
c=200 //units in meters/sec
p=m*c //units in Kg meter/sec
lamda=h/p //units in meters
width=0.2*10^-2 //units in meters
sintheta=lamda/width //units in radians
printf("The diffraction pattern that would be obtained by shooting bullet is sin(theta)=")
disp(sintheta)
printf("Radians\n The diffraction angles are so small that the particles will travel essentially straight through the slit")
|