<?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/"
		>
<channel>
	<title>Comments on: Practical example: Intersecting a circle with a line series</title>
	<atom:link href="http://blogs.mathworks.com/pick/2008/02/19/practical-example-intersecting-a-circle-with-a-line-series/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/pick/2008/02/19/practical-example-intersecting-a-circle-with-a-line-series/</link>
	<description>&#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author&#34;&#62;Brett&#60;/a&#62; &#38; &#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author&#34;&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:12:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: johnsmith</title>
		<link>http://blogs.mathworks.com/pick/2008/02/19/practical-example-intersecting-a-circle-with-a-line-series/#comment-12273</link>
		<dc:creator>johnsmith</dc:creator>
		<pubDate>Tue, 29 Jul 2008 09:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/02/19/practical-example-intersecting-a-circle-with-a-line-series/#comment-12273</guid>
		<description>People started to try to solve the classical Greek problem of squaring a circle by construction around 200 BC. It was finally proven impossible in 1882, when Lindemann proved that pi was trancendental. (I will omit the proof of this here.) Here are the basic ideas of the proof, following closely the discussion by Courant and Robbins in &quot;What Is Mathematics.&quot; Given an arbitrary circle, let us define our unit of measure to be the radius of the circle. That means that the circle has area pi. Therefore, in order to construct a square of equal area, we need to construct the side of the square, which must have length square root of pi. I show that this is impossible. First, I must explain what it actually means to say that pi is transendental. This means that pi does not satisfy any rational polynomial equation.
--------------------
johnsmith

&lt;a href=&quot;http://www.clickidentify.com&quot; rel=&quot;nofollow&quot;&gt;Wide Circles&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>People started to try to solve the classical Greek problem of squaring a circle by construction around 200 BC. It was finally proven impossible in 1882, when Lindemann proved that pi was trancendental. (I will omit the proof of this here.) Here are the basic ideas of the proof, following closely the discussion by Courant and Robbins in &#8220;What Is Mathematics.&#8221; Given an arbitrary circle, let us define our unit of measure to be the radius of the circle. That means that the circle has area pi. Therefore, in order to construct a square of equal area, we need to construct the side of the square, which must have length square root of pi. I show that this is impossible. First, I must explain what it actually means to say that pi is transendental. This means that pi does not satisfy any rational polynomial equation.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
johnsmith</p>
<p><a href="http://www.clickidentify.com" rel="nofollow">Wide Circles</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rasem palestine</title>
		<link>http://blogs.mathworks.com/pick/2008/02/19/practical-example-intersecting-a-circle-with-a-line-series/#comment-10376</link>
		<dc:creator>rasem palestine</dc:creator>
		<pubDate>Mon, 31 Mar 2008 20:47:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/02/19/practical-example-intersecting-a-circle-with-a-line-series/#comment-10376</guid>
		<description>dear freind
i would like to thank u for your hard efforts
regard&#039;s
rasem kabi</description>
		<content:encoded><![CDATA[<p>dear freind<br />
i would like to thank u for your hard efforts<br />
regard&#8217;s<br />
rasem kabi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2008/02/19/practical-example-intersecting-a-circle-with-a-line-series/#comment-9629</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 21 Feb 2008 20:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/02/19/practical-example-intersecting-a-circle-with-a-line-series/#comment-9629</guid>
		<description>Martin,

After filming this, I found there were some edge cases like you mention.  This is mostly an exercise in developing the algorithm.  I am not sure much is gained from getting an absolutely complete solution.  These cases can be dealt with, but it does get quite fiddly.

Your second point.  I did not know which one would be correct of the two solutions, so I ran both and plotted them out.  It was always the same one that was correct, so I just used it. Not a strict mathematical explanation, but a practical one!

Thanks for paying attention enough to note these details!
Doug</description>
		<content:encoded><![CDATA[<p>Martin,</p>
<p>After filming this, I found there were some edge cases like you mention.  This is mostly an exercise in developing the algorithm.  I am not sure much is gained from getting an absolutely complete solution.  These cases can be dealt with, but it does get quite fiddly.</p>
<p>Your second point.  I did not know which one would be correct of the two solutions, so I ran both and plotted them out.  It was always the same one that was correct, so I just used it. Not a strict mathematical explanation, but a practical one!</p>
<p>Thanks for paying attention enough to note these details!<br />
Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Cohen</title>
		<link>http://blogs.mathworks.com/pick/2008/02/19/practical-example-intersecting-a-circle-with-a-line-series/#comment-9598</link>
		<dc:creator>Martin Cohen</dc:creator>
		<pubDate>Wed, 20 Feb 2008 05:03:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2008/02/19/practical-example-intersecting-a-circle-with-a-line-series/#comment-9598</guid>
		<description>A good start, but ....

1) What if the last point is inside the circle but some intermediate point is outside? Your code will give up. I think it would be better to look for the first point such that either (it is inside and next is outside) or (it is outside and next is inside). If I wanted to optimize this, I would start at the last point found and search forward and back, assuming that the next one, for a close initial point, would also be close.

2) You chose a particular solution to the quadratic equation. How do you know it is the correct one? The line intersects the circle in two points - I have not worked through the math to see if you can prove that your choice is always the correct one.</description>
		<content:encoded><![CDATA[<p>A good start, but &#8230;.</p>
<p>1) What if the last point is inside the circle but some intermediate point is outside? Your code will give up. I think it would be better to look for the first point such that either (it is inside and next is outside) or (it is outside and next is inside). If I wanted to optimize this, I would start at the last point found and search forward and back, assuming that the next one, for a close initial point, would also be close.</p>
<p>2) You chose a particular solution to the quadratic equation. How do you know it is the correct one? The line intersects the circle in two points &#8211; I have not worked through the math to see if you can prove that your choice is always the correct one.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

