summaryrefslogtreecommitdiff
path: root/3845/CH25/EX25.11/Ex25_11.sce
blob: e9e8e44eb6d313f0f11ff6e3faab30c25c8552e5 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 25.11
d_o=12;//Object distance (cm)
m=0.0320;//Magnification
d_i=-m*d_o;//Image distance (cm)
f=1/(1/d_o+1/d_i);//Focal length (cm)
R=2*abs(f);//Radius of curvature (cm)
printf('Radius of curvature of cornea = %0.3f cm',R)
//Answer varies due to round off error
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest