clear //Given t1=2.5 //second r1=0.5 r2=1 //Calculation t2=(t1*r2**2)/r1**2 //Result printf("\n exposure time is %0.3f s",t2)