OK thats my simulator, i need help with the calculus part and the formulas