Hey, you asked how to get around the negative coefficient and I gave you the easiest solution. The other solution is to do this in your micro program, which is how a datalogger would do it. How are you at Math?
In complete agreement with ante, I will also not do your homework for you. However, I...