blob: 353be87170eb02f804f1cc3af2dbc6c378ff17e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clc//
//
//
//Variable declaration
a1=4*10^-3; //diameter(m)
a2=6*10^-3; //diameter(m)
d1=1; //distance(m)
d2=2; //distance(m)
//Calculation
theta=(a2-a1)/(2*(d2-d1)); //divergence(radian)
//Result
printf("\n divergence is %0.3f milli radian",theta*10^3)
|