I know this is not code related but i use this forum for vb and found it very good so hopefully i can get help with this problem!

I am doing a repeat module in uni which i failed over a year ago and i am having problems getting back into it! Heres my problem:

Show that the derivative of f(x) = (sin x)^3 + (cos x)^2 *(sin x) + 3x^2 = cosx +6x (where the 2 & 3 are sin squared and cos cubed respectively)

I can get this far but not sure what to do next!

(sin x)^3 = 3((sin x)^2)*(cos x)

(cos x)^2 = -2(cos x)(sin x)

sin x = cos x

therefore i get

3((sin x)^2)*(cos x) + (cos x)^3 + (sin x) -2(cos x)(sin x) + 6x

where do i go from here?

Thank You
Ruairi