User defined functions. Range variable mathcad. and or mathcad. linterp mathcad. variable control functions in mathcad.