In this case, you would do with What does
I know that the answer to integral of cos^2 x sin x dx is -cos^3/3 but I am having trouble figuring out how the prof got there.
Do you substitute u = cos x so du = -sin x? or do you substitute u = cos^2 x but then I am not sure what du =.
Any guidance would be greatly appreciated.