I couldn't find any info relevant to the error number you are seeing. What compiler are you using? Is it possible for you to post your source code so that I can try to compile locally?
It looks like you will need 5 variables for this problem though and a couple more to do the calculations.
__________________
Void
|