Definition diagonal arbitrary quadrilateral

212 Views Asked by At

Given

A convex quadrilateral whose sides are defined as (a=200, b=140, c=180, d=160). Diagonally (d1, d2) are equal.

Task

How to determine the length of the diagonal (d1, d2) with up to six decimal places?

Numerical results

Obtained in Mathcad using the Find function: 241.6579007199

Thanks

1

There are 1 best solutions below

3
On BEST ANSWER

Let $\alpha=\angle(a,b)$ (the angle between the sides $a$ and $b$) and $\beta=\angle(a,d)$. For any given angle $\alpha$ you can compute exactly one angle $\beta$ (using basic geometry), so that the side $c$ has the desirded length and the quadrilateral is convex. So, essentially, you have a single parameter to determin: $\alpha$. Now use your favorite optimizations scheme to find $\alpha$ in such a way, that the diagonals are of equal length, e.g.:

These procedures are searching for a zero of a function in a single variable. So for example try to find the zero of $f(\alpha):=|d_1(\alpha)-d_2(\alpha)|$, which is the difference in the length of the diagonals. If this functions is zero, the diagonals are of the same length.