blob: ac6d5335bff2f4fb330b5ca109736d88618fd428 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
//Given
ve=24.0
fe=8.0
f0=250.0
a=10
//Calculation
ue=1/((1/ve)-(1/fe))
D=f0-ue
d=a/2.0
A=d/f0
//Result
printf("\n (i) Distance between objective and eyepiece is %0.3f cm", D)
printf("\n (ii) Angle subtended by the sun at the objective is %0.3f rad",A)
|