The ICL8038 precision waveform generator can easily create a function generator circuit that outputs sine, triangular, and square waves.