I am trying to use a Sharp GP2Y0A21YK0F distance measuring ir emitter/irtransistor module with an ADC0831 converter, which reads the voltage coming out of the Sharp DME. the problem is that the voltage is not leaner function of the distance, but is instead an inverse function of the distance to the object being sensed. My problem then is how do I take the value read and raise it to a power of 1.197. The equation I need to solve is: Y = 27.639/X^1.197. So X the voltage read from the ADC0831 must be converted to a distance in millimeters, via a solution to this equation.