wow!I tried logs, differentiation, integration and all the other tricks I could barely remember from my school days 20 years ago - but there is no way I could have got there.Thank you so much for taking the time to answer my question. It's interesting to learn something new about maths - I've never heard of the Lambert W-Function before.