This is LaTeX code:
[latex]
f'(x)=(2-(\frac{1}{2})^n)x^{1-(\frac{1}{2})^n}
[/latex]