Using sin() function

Yes, thank you man. This what I wanted !