1 2 3 4 5 6 7 8 9 10
clear //Given R=36 //ohm //Calculation f=-R/2.0 u=(2*f)/3.0 //Result printf("\n Position of the object is %0.3f cm", u)