Hello all,
Does anyone have a quicker solution to converting a known area to a length and width to a square or rectangle? The actual Length and width dimensions are for sqft are for input only. Currently I am eyballing and making minute changes to get it close.
Attached is an example of a perimeter outline of a floor plan(left) and a simplified sqft (right)
For a square and the area, any side is = square root of the area.
(setq W (sqrt A))
For a rectangle, either one side length, L, must be known:
(setq W (/ A L ) ) ; L must be a real, not an int, or
(setq W (/ A L 1.) ) ; either
or the ratio between L and W must be known:
R = L/W, thenA = LxW =
(setq L (sqrt A R) W ( / L R 1.) )
Similar rules for the perimeter.