<r>Hi erstwhile, JanDash and wayone.First of all, I want to thank you very much for your efforts and help.Secondly, thanks to ancast, who gave a right reference to the solution in the other threat, the closed-form solution was found.It can be downloaded here:<URL url="http://www.clearingrisk.com/res...