LED on/off

how to make it turn on the LED at C13 when the sine is positive and turn it off when the sinus is negative?

The sin() function returns a value. Store that value in a variable.

 if(variable > 0)
    digitalWrite(C13, HIGH);
 else
    digitalWrite(C13, LOW);

Really, it's about as simple as it gets.