physics
posted by eric on .
In a local bar, a customer slides an empty beer mug down the counter for a refill. The bartender is momentarily distracted and does not see the mug, which slides off the counter and strikes the floor at distance d from the base of the counter. The height of the counter is h.
(a) With what speed did the mug leave the counter?
(b) What was the direction of the mug's velocity just before it hit the floor?

d/sqrt(2*h/9.81)
atan ((d/sqrt(2h/9.81)) / (9.81*sqrt(2h/9.81)))
I got this 2 ans but they are wrong. please assist!