[MERGED] Need assistance turning mathematical formula into Arduino code

This topic has been merged into Need assistance turning mathematical formula into Arduino code.