blob: d4c1cb5f5a8707fc5f01f8e8750809696ebbc61d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clear
//Given
u0=-200.0 //cm
f0=30.0 //cm
fe=3
//Calculation
v0=1/((1/f0)+1/u0)
a=v0+fe
//Result
printf("\n Separation between the objective and eyepiece is %0.1f cm",a)
|