graphing calc works for simple functions