<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Irregular Times Diaries: Unfit Discussion &#187; maine</title>
	<atom:link href="http://irregulartimes.com/diaries/diarytag/maine/feed/" rel="self" type="application/rss+xml" />
	<link>http://irregulartimes.com/diaries</link>
	<description>In a time of the spring, old paths are obscured and new growth begins.</description>
	<lastBuildDate>Sun, 05 Jun 2011 17:02:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>I finally figure out how I&#8217;ll use Trigonometry in real life</title>
		<link>http://irregulartimes.com/diaries/2010/01/i-finally-figure-out-how-ill-use-trigonometry-in-real-life/</link>
		<comments>http://irregulartimes.com/diaries/2010/01/i-finally-figure-out-how-ill-use-trigonometry-in-real-life/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 13:52:04 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[circle]]></category>
		<category><![CDATA[committee]]></category>
		<category><![CDATA[cosine]]></category>
		<category><![CDATA[dots]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[legislature]]></category>
		<category><![CDATA[maine]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[real life]]></category>
		<category><![CDATA[right triangle]]></category>
		<category><![CDATA[sine]]></category>
		<category><![CDATA[trig]]></category>
		<category><![CDATA[trigonometry]]></category>

		<guid isPermaLink="false">http://irregulartimes.com/diaries/?p=1406</guid>
		<description><![CDATA[I remember the class asking my high school geometry teacher, &#8220;Why do we need to know about sines and cosines? How will we use this in real life?&#8221; He didn&#8217;t give us much of an answer, and at least in my life the answer was that I didn&#8217;t need trigonometry, not until now. I finally [...]]]></description>
				<content:encoded><![CDATA[<p>I remember the class asking my high school geometry teacher, &#8220;Why do we need to know about sines and cosines?  How will we use this in real life?&#8221;  He didn&#8217;t give us much of an answer, and at least in my life the answer was that I didn&#8217;t need trigonometry, not until now.  I finally figured out what it&#8217;s good for in my life.</p>
<p>I&#8217;m looking at the Maine state legislature and would like my computer to put icons for each member of a legislative committee on a circle, equidistant from one another.  Why? Well, later on, I intend to draw lines between the members&#8217; icons in order to express something about the relationships between them.  But for now my problem is to get a nice, neat circle of dots, each representing a legislator.  For committees with size X, the dots should be placed (360/X) degrees away from one another on the circle.  For a committee of 12 people, then, there should be dots placed at 0 degrees, 30 degrees, 60 degrees, 90 degrees, 120 degrees &#8230; and so on, all around the circle.</p>
<p>That&#8217;s all well and good, but what are the x,y coordinates for a point 30 degrees along in a circle? Trig!</p>
<p><img src="http://irregulartimes.com/diaries/wp-content/uploads/2010/01/righttriangleinacircle.png" alt="Right Triangle in a Circle, with sides and angle A marked" title="righttriangleinacircle" width="300" height="300" align="left" />The center point of a circle and a point along the edge of a circle mark two points of a right triangle; the third point in the example to our left forms a right angle along the horizontal axis of the circle.</p>
<p>For an image of width W and height H, the center point of the circle will be (W/2),(H/2).  The radius r of the circle is W/2, and it is also the hypotenuse of the right triangle.  The location to place our dot on the edge of the circle will be (W/2)+b,(H/2)-a.  We can set the values of the width W and height H of the image.  All we need to do is figure out the values of a and b for angle A.  Those values are</p>
<p>a = r * Sin(A)<br />
b = r * Cos(A)</p>
<p>What&#8217;s A?  It&#8217;s whatever we want it to be.  To find a series of 12 dots for 12 legislators, we can draw a series of right triangles all the way around the circle, each anchored at the circle&#8217;s center point and at the edge of the circle, with angles in increasing increments of 30 degrees.  For each triangle, we can use the sine and cosine of A to find out how where to place our dots.</p>
<p>Here&#8217;s the Maine state legislature&#8217;s Appropriations Committee, drawn by a computer using the <a href="http://php.net/manual/en/ref.image.php">GD graphics commands in the language PHP</a>.  Republicans are pinkish, Democrats are bluish.</p>
<p><img src="http://irregulartimes.com/diaries/wp-content/uploads/2010/01/maineappropriationscommittee.png" alt="Members of the Maine state legislature appropriations committee" title="maineappropriationscommittee" width="300" height="300" class="alignnone size-full wp-image-1408" /></p>
<p>This process can be used for any number of dots representing any number of committee members.</p>
<p>There&#8217;s how I&#8217;ll use trigonometry in real life, Mr. Sobieraski.</p>
]]></content:encoded>
			<wfw:commentRss>http://irregulartimes.com/diaries/2010/01/i-finally-figure-out-how-ill-use-trigonometry-in-real-life/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
