Coding challenge

Write some code that takes the sin of a given number 100 times. So take the sin of a number, then take the sin of that, then the sin of that. Do this 100 times. What number seems to always result? Can you explain why? Try the cos next.

Type your code here:

Lua reference

See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: