# Getting that X with the Glog function and Lambert’s W

Facing a simple, yet frustrating formula like this

$xe^{ax}=b$

and the task to solve it for x left me googling around for hours until I found salvation in Wolfram Alpha, Wikipedia, and a nice blog post with R-syntax to solve a similar equation.