Example 1: Analog input scaling

Control 0 – 40 Hz with analog input 0 – 10 V:

n1 = 0 Hz, n2 = 40 Hz