INPUT VALUE UNIT VARIABLE MIN MAX STEPS
x
m
OUTPUT VALUE UNIT
f to be calculated
R to be calculated
xi to be calculated