@kfcgod,
Ignore Izzy's link (which is completely irrelevant).
It always helps to draw a picture when you are learning these concepts. Hopefully you are familiar with right angle triangles. You should end up with something like this.
When you know h, and l of a right angle triangle, and want to find the angle... the correct function to use is arctan.