several ways come to mind:

1. Newton's method - Wikipedia, the free encyclopedia

2. Bisection method - Wikipedia, the free encyclopedia

3. Secant method - Wikipedia, the free encyclopedia

4. you can also plot the two functions on each side of the equation on the same system of axis, and find their intersection point.

5. you can try to converge to the solution:

the stopping condition would be:

in this case one obvious solution is n = 0