Thanks all for your advice.
Our teacher taught us this. Isn't it when you get a limit where the result is mathematically indeterminable, you can differentiate the numerator and denominator in terms of the variable of the limit and it works out? (eg. lim x-->0 sinx/x)