Low-Cost Alternative for Signal Generators in the Physics Laboratory