what is the difference between a function and a program?
Functions must return a result, which can be graphed or entered in a table. Programs do not return a result. You can use a function (but not a program) within an expression. ... A function cannot call a program as a subroutine, but it can call another user-defined function.