summaryrefslogtreecommitdiff
path: root/2780/CH3/EX3.27/Ex3_27.sce
blob: 164f6351a72d2021490d1eaba4aa910fe23f85ab (plain)
1
2
3
4
5
6
7
8
clc
//to calculate separation of two points on the moon
lambda=5.5*10^-5 //wavelength of light in cm
a=500 //diameter in cm
dtheta=1.22*lambda/a //limit of resolution of telescope in radians
R=3.8*10^8 //distance between earth and moon in m
X=R*dtheta
disp("the separation of two points on the moon is X="+string(X)+"m")