This is a common example of an integral that is a product of two functions whose derivatives are related. As we know the derivative of sinx is cosx, we can use substitution to easily solve this - let our U= sinx, and dU/dx = cosx so dU = cosxdx. Input the substitution to give the integral of U2dU, which by the power rule is simply solved as U3/3, without forgetting the constant C. Substituting U we find that the final answer is (sin3x)/3 + C