f(x)=A*B的求导法则:
f'(x)=A'B+AB'
即有:
f'(x)=x'cos(3x)+x[cos(3x)]'
=cos(3x)+x[-3sin(3x)]
=cos(3x)-3xsin(3x)