clear //Given u=-15.0 //cm f=-10 //cm o=2.0 //cm //Calculation v=1/((1.0/f)-(1.0/u)) m=v/u I=-m*o //Result printf("\n Position of the image is %0.3f cm", v) printf("\n Size of the image is %0.3f cm",I) printf("\n Nature of the image isreal and inverted ")