refer, not reffer.  Also, I think we can make this sentence a little bit stronger, how about:

Programming functions are related to mathematical functions, and it is helpful to think of them as abstract operators that produce output given some input.  Let's look at some examples to solidify this concept.