+ Reply to Thread
Results 1 to 4 of 4

How many circles can fit within a circle?

  1. #1
    Registered User
    Join Date
    09-06-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    22

    How many circles can fit within a circle?

    Hi Guys and Ladies,

    I am trying to figure out how i would calculate how many circles of a known diameter will fit inside another circle of larger diameter.
    Is it possible to do this using some kind of vba programming / macro and if so could anybody point me in the right direction.

    thanks

    Jez

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,856

    Re: How many circles can fit within a circle?

    A quick internet search did not find any Excel or VBA code for this. I did find several discussions, as this kind of "packing problem" is not new.

    I don't know if any of us here are strong enough mathematicians to know what algorithms are used for this kind of problem. In my internet search, I found a couple of potentially useful references: http://mathworld.wolfram.com/CirclePacking.html
    http://en.wikipedia.org/wiki/Circle_packing_in_a_circle
    http://www.math.ucsd.edu/~ronspubs/98_01_circles.pdf
    Perhaps one of the sample packings described in these will provide you with the information needed to solve your problem. The last link makes reference to a couple of algorithms they used to optimize circle in circle packings. One of these algorithms might be useable for your problem.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,438

    Re: How many circles can fit within a circle?

    Here is the example file I posted at cross post on the other forum
    http://www.thecodecage.com/forumz/mi...otherwise.html
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    09-06-2017
    Location
    Jaffrey
    MS-Off Ver
    2010
    Posts
    1

    Re: How many circles can fit within a circle?

    Hello, has this file ever been modified to calculate different size smaller circles?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 10-23-2013, 05:20 PM
  2. Replies: 4
    Last Post: 12-17-2012, 11:45 PM
  3. I want to delete the circles
    By hesham63 in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 09-12-2011, 06:26 PM
  4. How do I set up a circle within a circle chart?
    By Ken in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-04-2006, 07:45 AM
  5. Circles
    By BABarone in forum Excel General
    Replies: 3
    Last Post: 07-18-2005, 09:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1