how does the sine function work. There are any references about how does the sine function work in here. you can look below.