summaryrefslogtreecommitdiff
path: root/2780/CH3/EX3.34/Ex3_34.sce
blob: 8935c88ddeee288ddb609a30e228bea14465538b (plain)
1
2
3
4
5
6
clc
//to calculate diameter of a telescope 
lambda=5*10^-5 //wavelength in cm
theta=(%pi/180)*(1/1000) //in radians
a=1.22*lambda/theta
disp("the diameter of a telescope is a="+string(a)+"cm")