Before I can help you, I need to know exactly what the problem you're working on is. What you wrote is very ambiguous. For example, is your problem:
\(\displaystyle \lim _{x\to 0}\left(K+\frac{cos\left(Lx\right)}{x^2}\right)=-4\)
Or is it:
\(\displaystyle \lim _{x\to 0}\left(K+cos\left(\frac{Lx}{x^2}\right)\right)=-4\)
Or something else entirely? Unless I know what problem you're doing, I can't even suggest a first step.