Solve for n
n=\log_{2}\left(511\right)+1\approx 9.997179481
Share
Copied to clipboard
2^{n-1}=511
Swap sides so that all variable terms are on the left hand side.
\log(2^{n-1})=\log(511)
Take the logarithm of both sides of the equation.
\left(n-1\right)\log(2)=\log(511)
The logarithm of a number raised to a power is the power times the logarithm of the number.
n-1=\frac{\log(511)}{\log(2)}
Divide both sides by \log(2).
n-1=\log_{2}\left(511\right)
By the change-of-base formula \frac{\log(a)}{\log(b)}=\log_{b}\left(a\right).
n=\log_{2}\left(511\right)-\left(-1\right)
Add 1 to both sides of the equation.
Examples
Quadratic equation
{ x } ^ { 2 } - 4 x - 5 = 0
Trigonometry
4 \sin \theta \cos \theta = 2 \sin \theta
Linear equation
y = 3x + 4
Arithmetic
699 * 533
Matrix
\left[ \begin{array} { l l } { 2 } & { 3 } \\ { 5 } & { 4 } \end{array} \right] \left[ \begin{array} { l l l } { 2 } & { 0 } & { 3 } \\ { -1 } & { 1 } & { 5 } \end{array} \right]
Simultaneous equation
\left. \begin{cases} { 8x+2y = 46 } \\ { 7x+3y = 47 } \end{cases} \right.
Differentiation
\frac { d } { d x } \frac { ( 3 x ^ { 2 } - 2 ) } { ( x - 5 ) }
Integration
\int _ { 0 } ^ { 1 } x e ^ { - x ^ { 2 } } d x
Limits
\lim _{x \rightarrow-3} \frac{x^{2}-9}{x^{2}+2 x-3}