A.Casares M.
January 6th, 2017
For instance:
Let BX = 9, CX = 7, AX = 3
Given AX, BX and CX, is the 4th distance DX determined?
DX <- sqrt(BX^2+CX^2-AX^2)
cat(sprintf('DX = %3.1f',DX))
DX = 11.0
The point X moves along a circle with r=AX and center A.
When X moves, the rectangle adjusts its dimensions.
To see it and examine the problem's behaviour:
Empirical procedure:
Areas computed in each point of an uniform sample.
The extreme areas may be easily computed from it.
The figure shows the answers for a set of distances
The minimum value of the area is at angle BAX = 0 degrees.
Finding the analytical function and its derivative is hard to do.
Looks for angles making the derivative null, without using the cumbersome function.
Numerical derivatives, shown in blue, exhibit good linear pattern.
A linear model fits with high R-square.
Answers are practically identical, and close to empirical ones.