Question d’entretien chez Rockwell Automation

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