blob: dc80c1d5c4358b163149e50b5e73868167f9fe21 (
plain)
1
2
3
4
5
6
7
|
//Example 26.3
d_i=(-30+1.5)*10^-2;//Image distance (m)
d_o=%inf;//Object distance (m)
P=1/d_o+1/d_i;//Power (D)
printf('Power of spectacle lens required = %0.2f D',P)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|