Voltage Divider Calculator

Useful for determining the response curve of a variable resistor (such as a potentiometer) based on a dividing resistor. In a voltage divider circuit, the function is: vout = r2 / (r2 + r1) * vin x is r1, r2 is the divider resistor.