## Angles of a convex quadrilateral knowing 2 opposite side lengths and lengths of diagonals [closed]

My appologies for the basic geometry question. I can't figure it out, and it's driving me crazy.

I have a convex 4 sided polygon.

Assume I know the lengths of the two diagonals P & Q.
Assume I know the side lengths of 2 of the opposite sides, A & C.

I need to have an algorithm for identifying the size of the angles between: A and P. C and P. A and Q. C and Q.

Obviously, if I have one, the rest can be deduced through the law of sines and sum of the angles of a triangle = pi.

-
The polygon isn't determined by the four lengths P,Q,A,C, so there can't be an algorithm to determine the angles. – Matt Fayers Aug 9 2010 at 3:47
MO is intended for research-level questions, so it really isn't the right venue for elementary Euclidean geometry questions. I'd suggest asking them on math.stackexchange.com instead, though as Matt said, in its current form your question is ill-posed as the given data do not determine the polygon. – Andy Putman Aug 9 2010 at 4:19
Thank you Matt for pointing out the now obvious. Andy, thank you. Didn't know about math.stackexchange.com. – John Aug 9 2010 at 12:34