Hi all,

I've been asked to use the product rule to show that the function

$\displaystyle g(x)=(1+2sinx)e^{\frac{1}{2}x+cosx}$

has derivative

$\displaystyle g'(x)=\frac{1}{2}(4cos^{2}x+4cosx-3)e^{\frac{1}{2}x+cosx}$

have I started right with

$\displaystyle g'(x)=(2cosx)(e^{\frac{1}{2}x+cosx})+(1+2sinx)[(e^{\frac{1}{2}x+cosx})(\frac{1}{2}-sinx)]$

Many thanks all.