1. ## Tricky Differentiation

Hey guys, I'm doing an assignment on numerical differentiation involving MATLAB but have come unstuck as I need to manually differentiate the following function:

f(x) = 2^(asin(x)^2)

If anyone could help I'd really appreciate it, and if you can show me the steps in the process of the differentiation I'd really really appreciate it!

Thanks, Watto

2. Just use that $\frac{d}{dx}(asin(x)) = \frac{1}{\sqrt{1 - x^2}}$ and then use the chain rule. I got the result:

$\frac{2 \ln(2) asin(x)}{\sqrt{1 - x^2}}2^{(asin(x))^2}$

Hope it's correct.

3. tar mate you are a legend!

4. Very good! I would have assumed that "asin(x)" was simply "a times sin(x)" rather than "arcsine". watto23, I don't know what syntax MATLAB uses but here you would be better understood if you used "arcsin(x)" or $sin^{-1}(x)$.