//Example 8 //chapter 42 //clc() o=9//in c f=24//in cm x=(1/f)-(1/o) disp("x=1/i in cm=") disp(x) i=1/x disp("i in cm=") disp(i) disp("lateral magnification =") m=-(i/o) disp(m)