summaryrefslogtreecommitdiff
path: root/1871/CH5/EX5.23/Ch05Ex23.sce
blob: 317403a8e94b52d391df2ed8b6eb3178b177aee3 (plain)
1
2
3
4
5
6
7
8
9
10
// Scilab code Ex5.23: Pg:232 (2008)
clc;clear;
Lambda = 5600e-08;    //Mean wavelength of light, cm
a = 101.6;    // Diameter of the objective of a telescope, cm
theta_1 = 1.22*Lambda/a;    // The smallest angular separation of two stars in seconds resolved by a telescope, radian
theta = theta_1*(180/%pi)*60*60;    // Smallest angular separation of two stars in seconds resolved by a telescope, second
printf("\nThe smallest angular separation of two stars in seconds resolved by a telescope = %4.2f second", theta);

// Result 
// The smallest angular separation of two stars in seconds resolved by a telescope = 0.14 second