Step 1: Separate the integral into individual terms.
∫(cosx3sinx+xπ+7)dx=∫cosx3sinxdx+∫xπdx+∫7dx
Step 2: Integrate the first term.
Recall that cosxsinx=tanx.
∫cosx3sinxdx=3∫tanxdx
The integral of tanx is −ln∣cosx∣.
3(−ln∣cosx∣)=−3ln∣cosx∣
Step 3: Integrate the second term.
∫xπdx=π∫x1dx
The integral of x1 is ln∣x∣.
πln∣x∣
Step 4: Integrate the third term.
∫7dx=7x
Step 5: Combine all integrated terms and add the constant of integration C.
−3ln∣cosx∣+πln∣x∣+7x+C
The final answer is −3ln∣cosx∣+πln∣x∣+7x+C.