One you post the correct formulas, then maybe you can get somewhere.
You can ask a new question or answer this question.