Calculating Servo Position for Potentiometer Reading

linear equation

This shows the math to on how to calculate servo position based on potentiometer reading

This math shows how to derive the equation for servo position from the potentiometer reading