producing sine wave variable in amplitude and frequency
You can use a digital potentiometer as a programmable attenuator or as a feedback element in a programmable gain amplifier circuit.

See references  at arduino.cc regarding interfacing an AD5171 or AD5206 to Arduinos.