Can Excel be Used to Minimize Waste in Diagonal Flooring Layouts?

  • Thread starter Thread starter GENIERE
  • Start date Start date
  • Tags Tags
    Practical
GENIERE
This is a math problem, but requires a little preface.

In my home I am going to replace the wall-to-wall carpeting with Pergo type flooring. This type of flooring is less than half the price of real hardwood planks. Each “fake” wood plank varies in width and length depending on the manufacturer, but generally about 48” x 7.5 inches. Actual measurements are metric but in the US you’re usually provided the nearest inch equivalent. My wife wants the planks to run diagonally (45 degrees) across the floors in most rooms and also incorporate some “patterns”. Women! With the large square footage, wastage because of the diagonal run will probably cost me an additional $1500.00 - $20000.00. I’d like to minimize the waste.

Hmmm! This preface is taking longer than I thought so I apologize to the readers. Please bear with me a little longer.

When I replaced my Kitchen cabinets, I was in need of graph paper to plan the layout. Having none, I decided to print out a blank Excel spread sheet with the “squares” set to the appropriate number of pixels. Once in Excel, I realized I could simply color in the squares to simulate cabinet location and obtain exact measurements using a few simple Excel macros. The manufacturer's computer plans agreed closely with mine and the small error was theirs.

I’d like to use Excel again to plan the flooring layout and calculate waste. The problem is I need to find the diagonal of a square such the length of sides and the length of the diagonal are as close to integer values as is possible. Hopefully the decimal can be xx.99xxx. Each integer value will represent a convenient number of pixels on the spreadsheet.

My last calculus course was taken over 45 years ago and I haven’t used it in over 30 years. I’m hoping the number of pixels for the sides can be less then 20 to keep the as much displayed in one window as possible at 100% magnification.

I’d be very grateful if someone could supply an answer, trial and error has not worked.


...
 
Mathematics news on Phys.org
So you want a square whose side and diagonal are both nearly integers ? The easiest way to do this would be on Excel itself. In column A you have sides = 1,2,3,... and in B1 you enter "=A1*sqrt(2)". Then just check column B for near integer values.

Here's a few that you can choose from :

side,diagonal

5, 7.07 (not great)
12, 16.97 (better)
17, 24.04 (about the same as the previous)
29, 41.01 (the best yet, but a little large)

tiling patterns here
 
Last edited:
Gokul43201 said:
So you want a square whose side and diagonal are both nearly integers ? The easiest way to do this would be on Excel itself. In column A you have sides = 1,2,3,... and in B1 you enter "=A1*sqrt(2)". Then just check column B for near integer values…

Now I am embarrassed. Many thanks!
 
sqrt(2) approx equal 99/70 is a pretty close approximation. Is accurate to about 1 part in 20,000. :)
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top