There's no point in posting the question here if you already posted it over on the Collaboratory. This forum is a backwater. Go back to the thread over there (the one where Mark Neil posted a file) and tell us which version of Mathcad you have so someone can convert his worksheet for you. In general, when you ask a question it's also usually best to post your own worksheet. The easier you make it for people to answer your question, the more likely you are to get an answer. Richard