Answer the following questions:(1) Find the value of a for which S=∫−ππ(x−asin3x)2dx is minimized, then find the minimum value.(2) Find the vlues of p, q for which T=∫−ππ(sin3x−px−qx2)2dx is minimized, then find the minimum value. calculusintegrationtrigonometrycalculus computations