$ 0 0 nan log wrote: Thank you very much Sir for your kind help!You are welcome! Still don't know which version of Mathcad/Prime you use and in which way you would have to use the result. Maybe the following could be of help, too: or to avoid red errors: