blob: 261f99c2f559bd3ca7b5c157e719e7ceccc2c90c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Example number 1.11, Page number 1.38
clc;clear;close
//Variable declaration
lamda=5.5*10**-7 // in m
d=2.54 // in m
x=1.22// unitless
//Calculation
dtheta=(x*lamda)/d // radian
//Result
printf("Smallest angular separation of two stars = %0.3e radian",dtheta)
|