summaryrefslogtreecommitdiff
path: root/3845/CH25/EX25.8/Ex25_8.sce
blob: f79441888df505d64f026664e35ff2fe52687af7 (plain)
1
2
3
4
5
6
7
8
//Example 25.8
d_o=7.5*10^-2;//Object distance (m)
f=-10*10^-2;//Focal distance (m)
d_i=1/(1/f-1/d_o);//Image distance (m)
m=-d_i/d_o;//Magnification
printf('Magnification produced by concave lens = %0.3f',m)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest