I am struggling with this problem: At $x=0$ I own $b$ units. Every year I deposit $a$ units. The bank pays an interest rate of $c$ every year. After how many years I will own $d$ units?
$$(ax+b)*e^{cx} = d$$
How am I able to solve this for $x$?
I know that $$ax+b = d \Rightarrow x = {d-b \over a}$$ and $$e^{cx} = d \Rightarrow x ={\ln d \over c}$$ but I have no idea how to solve the first equation. Thank you for any help!
You can't, not with elementary functions. As soon as your unknown is both outside and inside exp/log functions, it's hopeless - there's no closed form in terms of elementary functions. You have to attack the problem numerically (iteration, bisection, Newton's method,...). In this case, you can express the solution through the Lambert's W function, but that's just a fancy name for a numerical procedure.