# Math Help - differentiate trig

1. ## differentiate trig

differentiate:

y= 1+sin x / (x+ cos x)

I dont know how to do this one...can someone help me out?

2. given the quotient rule which states $\frac{d}{dx}f(x)$ when $f(x)=\frac{g(x)}{h(x)}$ is equal to $\frac{g'(x)h(x)-g(x)h'(x)}{(h(x))^2}$

therefore:

$g(x)=1+\sin(x), h(x)=x+\cos(x)$

so

$y'=\frac{(0+\cos(x)*1)(x+\cos(x))-[(1+\sin(x))(1*x^0-\sin(x)*1)]}{(x+\cos(x))^2}
$

You can leave it like that or expand it out.