Domanda di colloquio di Rockwell Automation

A HW engineer asked how to code a "SINE FUNCTION" without library call.