Pressure Transducer 1 - 5V (0 - 1000PSI) to 0 - 5V Channel

Pressure Transducer 1 - 5V (0 - 1000PSI) to 0 - 5V Channel
Equation Description:
Input source range: 1 - 5 V from pressure transducer
Data logger channel range: 0 - 5 V
Equation Contents:
//A custom equation converting 1-5V input to 0 - 1000 PSI.
public double Pressure1(double Input)
{
    double output;
    output = 1000 * (Input - 1) / (5 - 1);
    return output;
}