Precalculus an investigation of functions