summaryrefslogtreecommitdiff
path: root/1271/CH2/EX2.41/example2_41.sce
blob: a23923406f5bb6c0441e90fb376fe690fe8ebbe2 (plain)
1
2
3
4
5
6
7
8
9
clc 
// Given that
lambda = 5e-7 // wavelength of light in meter
theta = (1e-3) * (%pi / 180) // separation angle of stars in radian
// Sample Problem 41 on page no. 2.54
printf("\n # PROBLEM 41 # \n")
a = (1.22 * lambda) / theta // calculation for diameter of telescope objective
printf("\n Standard formula used \n a = (1.22 * lambda) / theta. \n")
printf("\n Diameter of telescope objective = %f meter",a)