clear //Given f=-10.0 //cm u=-25.0 //cm h1=3 //Calculation v=1/((1/f)-(1/u)) h2=(-v*h1)/u A=h2**2 //Result printf("\n Area enclosed by the image of the wire is %0.3f cm**2", A)