Analogue Read/Write Behaving As Binary

The maximum frequency of an analog sine wave generated by PWM depends on the PWM frequency, which for AnalogWrite varies from one Arduino model & pin number to another (but there are many other PWM options), the low pass filter used, and the allowable distortion. Here is a nice summary of DAC options for Atmega Arduinos Embedded newbie: Review of Arduino DAC solutions