blob: cb8e73d45703dfb9ec5eb0415d1ad5d1c324fc6d (
plain)
1
2
3
4
5
6
7
|
clc
//distance between the centres of images of two stars
lambda=5500*10^-8 //wavelength of light in cm
f=4*10^2 //focal length of telescope objective in cm
a=0.01*10^2 //diameter in cm
X=1.22*lambda*f/a
disp("distance between the centres of images of two stars is X="+string(X)+"cm ")
|