//Example 25.5 f=8*10^-2;//Focal length (m) P=1/f;//Power of the lens (D) printf('Power of the lens = %0.1f D',P) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest