how does sin and cos work. There are any references about how does sin and cos work in here. you can look below.