Thanks for the reply, its actually pretty hard to find equations on the net, so i posted here.
Ive figured out problem 1 and edited my post, and I am still having problems with #2, I am trying to work through it. Do you just take an average of the numbers?
Again thanks.