<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: A mathematical digression</title>
	<atom:link href="http://successfulsoftware.net/2008/07/18/a-mathematical-digression/feed/" rel="self" type="application/rss+xml" />
	<link>http://successfulsoftware.net/2008/07/18/a-mathematical-digression/</link>
	<description>Successful software requires more than just good programming.</description>
	<lastBuildDate>Fri, 10 Feb 2012 18:35:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: A mathematical digression (revisited) &#171; Successful Software</title>
		<link>http://successfulsoftware.net/2008/07/18/a-mathematical-digression/#comment-10917</link>
		<dc:creator><![CDATA[A mathematical digression (revisited) &#171; Successful Software]]></dc:creator>
		<pubDate>Mon, 25 Aug 2008 13:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://successfulsoftware.wordpress.com/?p=424#comment-10917</guid>
		<description><![CDATA[[...] circle, ellipse, layout, qt, secant      I received two working programs that attempted to solve my ellipse problem. Both were creditable attempts, but neither of them were quite accurate enough for my requirements. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] circle, ellipse, layout, qt, secant      I received two working programs that attempted to solve my ellipse problem. Both were creditable attempts, but neither of them were quite accurate enough for my requirements. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Brice</title>
		<link>http://successfulsoftware.net/2008/07/18/a-mathematical-digression/#comment-10881</link>
		<dc:creator><![CDATA[Andy Brice]]></dc:creator>
		<pubDate>Thu, 21 Aug 2008 09:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://successfulsoftware.wordpress.com/?p=424#comment-10881</guid>
		<description><![CDATA[Another update. I have a working solution! More details soon.]]></description>
		<content:encoded><![CDATA[<p>Another update. I have a working solution! More details soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Brice</title>
		<link>http://successfulsoftware.net/2008/07/18/a-mathematical-digression/#comment-10814</link>
		<dc:creator><![CDATA[Andy Brice]]></dc:creator>
		<pubDate>Mon, 04 Aug 2008 08:50:43 +0000</pubDate>
		<guid isPermaLink="false">http://successfulsoftware.wordpress.com/?p=424#comment-10814</guid>
		<description><![CDATA[An update.

I have two software solutions. One from &#039;Will Hunting&#039; in C++/Qt and one from Bruce Pearson in Python/WxWidgets. Both use heuristic approaches. 

Bruce Pearson&#039;s code does pretty well for up to N=27. But the circles overlap beyond that.

Will Hunting&#039;s does better with circle placement over a wider range of N. It also had the advantage of being in C++, making it easier to incorporate into PerfectTablePlan. But there is a visible gap between circle 0 and circle N-1. if this error could be spread equally between all the circles I think it might be good enough.

GJ Peltenburg has sent me some quartic solver code and Christopher Wells has filled in more details on an analytic approach. But every time I try to write out the quartic equation for x2 in terms of x1 and y1 my brain starts to bleed. ;0)]]></description>
		<content:encoded><![CDATA[<p>An update.</p>
<p>I have two software solutions. One from &#8216;Will Hunting&#8217; in C++/Qt and one from Bruce Pearson in Python/WxWidgets. Both use heuristic approaches. </p>
<p>Bruce Pearson&#8217;s code does pretty well for up to N=27. But the circles overlap beyond that.</p>
<p>Will Hunting&#8217;s does better with circle placement over a wider range of N. It also had the advantage of being in C++, making it easier to incorporate into PerfectTablePlan. But there is a visible gap between circle 0 and circle N-1. if this error could be spread equally between all the circles I think it might be good enough.</p>
<p>GJ Peltenburg has sent me some quartic solver code and Christopher Wells has filled in more details on an analytic approach. But every time I try to write out the quartic equation for x2 in terms of x1 and y1 my brain starts to bleed. ;0)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Koranda</title>
		<link>http://successfulsoftware.net/2008/07/18/a-mathematical-digression/#comment-10809</link>
		<dc:creator><![CDATA[Nick Koranda]]></dc:creator>
		<pubDate>Sun, 03 Aug 2008 22:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://successfulsoftware.wordpress.com/?p=424#comment-10809</guid>
		<description><![CDATA[SHOULD HAVE CHECKED MY LAST POST FOR TYPOS.
*****************************************************

I think a lot got real close to the solution but you are focusing on the wrong ellipse.

You first do what the original poster did and set C = N*D.

That gives you the ellipse of the chairs.  Then use the equation of an ellipse and the distance equation for two points.

That is two equations and two unknowns (the new X and Y position).

You will need to pick the location of the first chair (circle origin), but then after that those two equations will give you two results, one in each direction around the ellipse.

After you have used that chair ellipse, shrink both sides by D and you have the table ellipse.

For small values of N (say 6 or less), the use of C = N*D does not work too well, so I would suggest scaling D by a factor of 2 or so in all calculations.  That will allow the chairs to not have to touch.]]></description>
		<content:encoded><![CDATA[<p>SHOULD HAVE CHECKED MY LAST POST FOR TYPOS.<br />
*****************************************************</p>
<p>I think a lot got real close to the solution but you are focusing on the wrong ellipse.</p>
<p>You first do what the original poster did and set C = N*D.</p>
<p>That gives you the ellipse of the chairs.  Then use the equation of an ellipse and the distance equation for two points.</p>
<p>That is two equations and two unknowns (the new X and Y position).</p>
<p>You will need to pick the location of the first chair (circle origin), but then after that those two equations will give you two results, one in each direction around the ellipse.</p>
<p>After you have used that chair ellipse, shrink both sides by D and you have the table ellipse.</p>
<p>For small values of N (say 6 or less), the use of C = N*D does not work too well, so I would suggest scaling D by a factor of 2 or so in all calculations.  That will allow the chairs to not have to touch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Koranda</title>
		<link>http://successfulsoftware.net/2008/07/18/a-mathematical-digression/#comment-10808</link>
		<dc:creator><![CDATA[Nick Koranda]]></dc:creator>
		<pubDate>Sun, 03 Aug 2008 22:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://successfulsoftware.wordpress.com/?p=424#comment-10808</guid>
		<description><![CDATA[I think a lot got real close to the solution but you are focusing on the wrong ellipse.

You first do what the original poster did and set C = N*D.

That gives you the ellipse of the chairs.  They use the equation of an ellipse and the distance equation for two points.

That is two equations and two unknowns (the new X and Y position).

You will need to pick the location of the first chair (circle origin), but then after that those two equations will give you two results, one in each direction around the ellipse.

After you have used that chair ellipse, shrink both sides by D and you have the table ellipse.

For small values of N (say 6 or less), the use of C = N*D does not work too well, so I would suggest D by a factor of 2 or so in all calculations.  That will allow the chairs to not have to touch.]]></description>
		<content:encoded><![CDATA[<p>I think a lot got real close to the solution but you are focusing on the wrong ellipse.</p>
<p>You first do what the original poster did and set C = N*D.</p>
<p>That gives you the ellipse of the chairs.  They use the equation of an ellipse and the distance equation for two points.</p>
<p>That is two equations and two unknowns (the new X and Y position).</p>
<p>You will need to pick the location of the first chair (circle origin), but then after that those two equations will give you two results, one in each direction around the ellipse.</p>
<p>After you have used that chair ellipse, shrink both sides by D and you have the table ellipse.</p>
<p>For small values of N (say 6 or less), the use of C = N*D does not work too well, so I would suggest D by a factor of 2 or so in all calculations.  That will allow the chairs to not have to touch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Moyer</title>
		<link>http://successfulsoftware.net/2008/07/18/a-mathematical-digression/#comment-10745</link>
		<dc:creator><![CDATA[Steve Moyer]]></dc:creator>
		<pubDate>Fri, 25 Jul 2008 17:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://successfulsoftware.wordpress.com/?p=424#comment-10745</guid>
		<description><![CDATA[yep ... I stretched the elliptical table to an extreme and they do overlap.]]></description>
		<content:encoded><![CDATA[<p>yep &#8230; I stretched the elliptical table to an extreme and they do overlap.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Wells</title>
		<link>http://successfulsoftware.net/2008/07/18/a-mathematical-digression/#comment-10744</link>
		<dc:creator><![CDATA[Christopher Wells]]></dc:creator>
		<pubDate>Fri, 25 Jul 2008 14:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://successfulsoftware.wordpress.com/?p=424#comment-10744</guid>
		<description><![CDATA[&gt; Here’s why: h**p://planetmath.org/encyclopedia/QuarticFormula.html

Thanks. I don&#039;t remember seeing *that* in school.

&gt; seat centers fall on the ellipse a+r/b+r where r is the radius of the seat circle

I think those seats will overlap the ellipse at all except the 4 cardinal points (and that this will be most visible when a is much smaller than b, and the seats are sized such that there are about 8 or 12 seats around the table).]]></description>
		<content:encoded><![CDATA[<p>&gt; Here’s why: h**p://planetmath.org/encyclopedia/QuarticFormula.html</p>
<p>Thanks. I don&#8217;t remember seeing *that* in school.</p>
<p>&gt; seat centers fall on the ellipse a+r/b+r where r is the radius of the seat circle</p>
<p>I think those seats will overlap the ellipse at all except the 4 cardinal points (and that this will be most visible when a is much smaller than b, and the seats are sized such that there are about 8 or 12 seats around the table).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Moyer</title>
		<link>http://successfulsoftware.net/2008/07/18/a-mathematical-digression/#comment-10731</link>
		<dc:creator><![CDATA[Steve Moyer]]></dc:creator>
		<pubDate>Thu, 24 Jul 2008 12:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://successfulsoftware.wordpress.com/?p=424#comment-10731</guid>
		<description><![CDATA[&quot;I don’t think that the seats’ centres are on an ellipse&quot;

I&#039;ve been placing seat centers such that for a table with major/minor axes of a/b, the seat centers fall on the ellipse a+r/b+r where r is the radius of the seat circle.  The seats seem to be tangent to the table ellipse, but maybe there&#039;s some error I&#039;m not seeing in the resulting graphics (I&#039;m using Genius ... it&#039;s kind of like Matlab).]]></description>
		<content:encoded><![CDATA[<p>&#8220;I don’t think that the seats’ centres are on an ellipse&#8221;</p>
<p>I&#8217;ve been placing seat centers such that for a table with major/minor axes of a/b, the seat centers fall on the ellipse a+r/b+r where r is the radius of the seat circle.  The seats seem to be tangent to the table ellipse, but maybe there&#8217;s some error I&#8217;m not seeing in the resulting graphics (I&#8217;m using Genius &#8230; it&#8217;s kind of like Matlab).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GJ Peltenburg</title>
		<link>http://successfulsoftware.net/2008/07/18/a-mathematical-digression/#comment-10728</link>
		<dc:creator><![CDATA[GJ Peltenburg]]></dc:creator>
		<pubDate>Thu, 24 Jul 2008 07:01:34 +0000</pubDate>
		<guid isPermaLink="false">http://successfulsoftware.wordpress.com/?p=424#comment-10728</guid>
		<description><![CDATA[&gt; though why they don’t just write it out as an end-result ...

Here&#039;s why:
http://planetmath.org/encyclopedia/QuarticFormula.html

NB: at one point I implemented that in code, but I suspect it requires complex numbers to work, because the results I got were completely wrong.]]></description>
		<content:encoded><![CDATA[<p>&gt; though why they don’t just write it out as an end-result &#8230;</p>
<p>Here&#8217;s why:<br />
<a href="http://planetmath.org/encyclopedia/QuarticFormula.html" rel="nofollow">http://planetmath.org/encyclopedia/QuarticFormula.html</a></p>
<p>NB: at one point I implemented that in code, but I suspect it requires complex numbers to work, because the results I got were completely wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Wells</title>
		<link>http://successfulsoftware.net/2008/07/18/a-mathematical-digression/#comment-10727</link>
		<dc:creator><![CDATA[Christopher Wells]]></dc:creator>
		<pubDate>Thu, 24 Jul 2008 04:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://successfulsoftware.wordpress.com/?p=424#comment-10727</guid>
		<description><![CDATA[I don&#039;t think that the seats&#039; centres are on an ellipse; for example if the width of the table tends towards zero, so that the shape of the elliptic table tends towards a thin line, then the shape of the line through the centres of the chairs would tend towards a rectangle (i.e. not an ellipse).

Also the arc length between each pair of chairs isn&#039;t constant (the length pf the straight line between the centres of each pair of chairs is constant, but the shape&#039;s curvature isn&#039;t constant and the arc length is greater betwen pairs where the shape&#039;s curvature is larger).]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t think that the seats&#8217; centres are on an ellipse; for example if the width of the table tends towards zero, so that the shape of the elliptic table tends towards a thin line, then the shape of the line through the centres of the chairs would tend towards a rectangle (i.e. not an ellipse).</p>
<p>Also the arc length between each pair of chairs isn&#8217;t constant (the length pf the straight line between the centres of each pair of chairs is constant, but the shape&#8217;s curvature isn&#8217;t constant and the arc length is greater betwen pairs where the shape&#8217;s curvature is larger).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

