HI,

I didn't knox how to calculate the following limits:

1)-$\displaystyle \lim_{x\to \frac{\pi}{4}} f(x)=\frac{tanx-1}{\sqrt{2}cosx-1} $.

2)-$\displaystyle \lim_{x\to 0} f(x)=\frac{cosx+cos2x-2}{cos3x+sinx-1} $

Can you help me please?

And Thank's for anyway.