<?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>Rabbit Creative &#187; math</title>
	<atom:link href="http://www.rabbitcreative.com/category/math/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rabbitcreative.com</link>
	<description>ruby, rails, objects and &#60;del&#62;politics&#60;/del&#62; markets</description>
	<lastBuildDate>Tue, 20 Apr 2010 17:15:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Period of sec.</title>
		<link>http://www.rabbitcreative.com/2010/04/12/period-of-sec/</link>
		<comments>http://www.rabbitcreative.com/2010/04/12/period-of-sec/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 03:37:48 +0000</pubDate>
		<dc:creator>Rabbit</dc:creator>
				<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://www.rabbitcreative.com/?p=437</guid>
		<description><![CDATA[The period of sec is 2pi.

]]></description>
			<content:encoded><![CDATA[<p>The period of sec is 2pi.</p>
<p><img src="http://www.rabbitcreative.com/wp-content/uploads/2010/04/Screen-shot-2010-04-12-at-8.38.42-PM.png" alt="" title="Screen shot 2010-04-12 at 8.38.42 PM" width="629" height="539" class="alignnone size-full wp-image-441" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rabbitcreative.com/2010/04/12/period-of-sec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Graphics programming with Math. Programming a graphical clock. Part 1.</title>
		<link>http://www.rabbitcreative.com/2010/02/17/graphics-programming-with-math-programming-a-graphical-clock-part-1/</link>
		<comments>http://www.rabbitcreative.com/2010/02/17/graphics-programming-with-math-programming-a-graphical-clock-part-1/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 19:57:39 +0000</pubDate>
		<dc:creator>Rabbit</dc:creator>
				<category><![CDATA[game programming]]></category>
		<category><![CDATA[gosu]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.rabbitcreative.com/?p=371</guid>
		<description><![CDATA[We’re going to use Ruby, Gosu and some trigonometry to create a graphical clock. Specifically, we will be programming the behavior and graphics for the second, minute and hour hands of an analog clock; the face of the clock will be represented by a simple graphic file (a .png, in our case). Following this exercise [...]]]></description>
			<content:encoded><![CDATA[<p>We’re going to use Ruby, Gosu and some trigonometry to create a graphical clock. Specifically, we will be programming the behavior and graphics for the second, minute and hour hands of an analog clock; the face of the clock will be represented by a simple graphic file (a .png, in our case). Following this exercise from start to finish should grant you a beginner’s understanding of some basic trigonometric concepts.</p>
<p>As we talk and learn about trigonometry, keep one thing in mind: trigonometry is easy. In fact, I&#8217;d argue that the portion of trigonometry that we will cover in this article can be understood intuitively. And soon you shall.</p>
<p>We begin our task by considering the following standard Cartesian coordinate system.</p>
<p><img src="http://www.rabbitcreative.com/wp-content/uploads/2010/02/diagram-1.png" alt="" title="diagram-1" width="620" height="492" class="alignnone size-full wp-image-372" /></p>
<p>Place a circle with radius 1 at the center of the graph, such that the circle’s center is aligned with the origin of the coordinate plane. This circle is called the unit circle.</p>
<p><img src="http://www.rabbitcreative.com/wp-content/uploads/2010/02/diagram-2.png" alt="" title="diagram-2" width="620" height="492" class="alignnone size-full wp-image-375" /></p>
<p>Let&#8217;s see this circle in greater detail by zooming in on it.</p>
<p><img src="http://www.rabbitcreative.com/wp-content/uploads/2010/02/diagram-3.png" alt="" title="diagram-3" width="620" height="492" class="alignnone size-full wp-image-376" /></p>
<p>The line that we draw is called the terminal side of our angle. All angles are measure from their initial side (the x-axis) to their terminal side. The angle created in the diagram below is 45 degrees. The green line below intersects the circumference of our circle at a specific point on the coordinate system.</p>
<p><img src="http://www.rabbitcreative.com/wp-content/uploads/2010/02/diagram-4.png" alt="" title="diagram-4" width="620" height="492" class="alignnone size-full wp-image-377" /></p>
<p>This is true for any line drawn from the origin through any position on the circumference of the circle, as illustrated in the next diagram.</p>
<p><img src="http://www.rabbitcreative.com/wp-content/uploads/2010/02/diagram-4.1.png" alt="" title="diagram-4.1" width="620" height="492" class="alignnone size-full wp-image-378" /></p>
<p>The upshot of all this is that, no matter the angle, given a point along the circumference of a unit circle, we can construct a right triangle, like so.</p>
<p><img src="http://www.rabbitcreative.com/wp-content/uploads/2010/02/diagram-5.png" alt="" title="diagram-5" width="620" height="492" class="alignnone size-full wp-image-379" /></p>
<p>The terminal side of our angle forms the hypotenuse of our right triangle, and is always equal to 1, as mentioned earlier. The point at which our line crosses the circumference of the circle actually gives us the lengths of the remaining two legs. The x-value of our point equals the length of the leg that lies along the x-axis (&#8220;side x&#8221;). The y-value of our point corresponds to the length of the leg that lies parallel to the y-axis (&#8216;&#8221;side y&#8221;).</p>
<p><img src="http://www.rabbitcreative.com/wp-content/uploads/2010/02/diagram-6.png" alt="" title="diagram-6" width="620" height="492" class="alignnone size-full wp-image-380" /></p>
<p>Armed with the lengths of each leg of our triangle, it’s time to learn about two trigonometrical functions, sine and cosine. These functions will allow us to extract the information necessary to draw objects moving at any angle we want. Both functions take as their argument an angle, but in practice this can be any real number.</p>
<p>Side x of the triangle indicates how much horizontal distance is composed within the hypotenuse. This value is given to us by the cosine function, abbreviated in algebra as “cos”. The y side of the triangle indicates how much vertical distance is composed within the hypotenuse. This value is given to us by the sine function, abbreviated in algebra as “sin”. Together, these values tell us the amount of vertical movement needed and the amount of horizontal movement needed to move at the desired angle for 1 unit. “1 unit” in our case is “1 pixel”.</p>
<p><img src="http://www.rabbitcreative.com/wp-content/uploads/2010/02/diagram-7.png" alt="" title="diagram-7" width="620" height="492" class="alignnone size-full wp-image-381" /></p>
<p>The sine and cosine functions return numbers between -1 and 1, inclusive. Because of this, using sine and cosine gives us the core of what matters in all this — the direction of the angle without any significant distance (we can&#8217;t well represent 77% of one pixel!). Once we have our direction, we can multiply the factors given to us by sine and cosine functions to draw lines.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-9576110003123309";
/* 468x60, created 2/17/10 */
google_ad_slot = "5134060023";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rabbitcreative.com/2010/02/17/graphics-programming-with-math-programming-a-graphical-clock-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evaluating algebraic expressions via function decomposition.</title>
		<link>http://www.rabbitcreative.com/2009/09/22/evaluating-algebraic-expressions-via-function-decomposition/</link>
		<comments>http://www.rabbitcreative.com/2009/09/22/evaluating-algebraic-expressions-via-function-decomposition/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 01:57:42 +0000</pubDate>
		<dc:creator>Rabbit</dc:creator>
				<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://www.rabbitcreative.com/?p=321</guid>
		<description><![CDATA[Or, less tersely, a really easy way to do algebra.
There are two caveats. First, you must rewrite the expression in terms of simple functions. The difficulty of this task increases as the function gets larger, I would imagine. Second, I do not know if this technique works at levels calculus and above.
Click the picture below [...]]]></description>
			<content:encoded><![CDATA[<p>Or, less tersely, a really easy way to do algebra.</p>
<p>There are two caveats. First, you must rewrite the expression in terms of simple functions. The difficulty of this task increases as the function gets larger, I would imagine. Second, I do not know if this technique works at levels calculus and above.</p>
<p>Click the picture below to enlarge it.</p>
<p><a href="http://www.rabbitcreative.com/wp-content/uploads/2009/09/algebra-technique.png"><img src="http://www.rabbitcreative.com/wp-content/uploads/2009/09/algebra-technique-300x220.png" alt="algebra-technique" title="algebra-technique" width="300" height="220" class="alignnone size-medium wp-image-330" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rabbitcreative.com/2009/09/22/evaluating-algebraic-expressions-via-function-decomposition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comprehending the &#8220;average rate of change&#8221; of a function.</title>
		<link>http://www.rabbitcreative.com/2009/09/17/comprehending-the-average-rate-of-change-of-a-function/</link>
		<comments>http://www.rabbitcreative.com/2009/09/17/comprehending-the-average-rate-of-change-of-a-function/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 00:57:14 +0000</pubDate>
		<dc:creator>Rabbit</dc:creator>
				<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://www.rabbitcreative.com/?p=276</guid>
		<description><![CDATA[Firstly, this material was written by a pre-calculus student. Therefore, it will probably be most beneficial towards pre-calculus inquiries. This is not a tutorial. I do not explain every concept used in this essay. I will move quickly and assume you have asked the same questions I have asked to arrive at this point.
If you [...]]]></description>
			<content:encoded><![CDATA[<p>Firstly, this material was written by a pre-calculus student. Therefore, it will probably be most beneficial towards pre-calculus inquiries. This is not a tutorial. I do not explain every concept used in this essay. I will move quickly and assume you have asked the same questions I have asked to arrive at this point.</p>
<p>If you find yourself being asked to &#8220;find the average rate of change of function&#8221; and that function happens to be non-linear (e.g. x^2), you&#8217;re probably being asked to find the average rate of change of the secant line of that same function (x^2). I say this because it simply doesn&#8217;t make sense to find the average rate of change for a function that does not change at a constant rate.</p>
<p>Worth your consideration when dealing with average rates of change for any function in two variables: if you are given two x-values, you actually have two points. Place each x-value into the function and solve for y to get these points.</p>
<p>With two points in hand, your goal is to write the slope-intercept form of the secant line of the given function between the the two points you calculated above. (Recall how to do this? Given points P1 and P2, find the slope. Given P1 and the slope, write the equation of the line in point-slop format, then evaluate this equation to produce the slope-intercept form.)</p>
<p>The secant line is just like any other line, except the points that form a secant line lie on the graph of some function. In pre-calculus, the secant line isn&#8217;t of particular interest, as the average rate of change of a secant line can be manipulated to read zero for a graph that clearly is never constant (e.g. x^2 with P1 = (4,4) and P2 = (-4,4)). However, I believe that doing such a thing is actually an obvious misuse of the <em>idea</em> behind a secant line. To the best of my knowledge, the secant line is intended to tell you the instantaneous rate of change at one point along a curve.</p>
<p>It may confuse you to consider the purpose of the secant line when dealing with average rate of change of a non-linear function.</p>
<p>As an aside, consider this: the secant line of a linear function is the graph of the function itself.</p>
<p>Here&#8217;s a completely worked out example of finding the secant line of a non-linear function given two x-values and a function f.</p>
<p><a href="http://www.rabbitcreative.com/wp-content/uploads/2009/09/secant-line-equation-from-two-x-values.gif"><img src="http://www.rabbitcreative.com/wp-content/uploads/2009/09/secant-line-equation-from-two-x-values.gif" alt="secant-line-equation-from-two-x-values" title="secant-line-equation-from-two-x-values" width="600" height="1300" class="alignnone size-full wp-image-307" /></a></p>
<p>Ponder this: what would be the average rate of change of f(x) = x^2 if you are given the following two x-values: -4, 4?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rabbitcreative.com/2009/09/17/comprehending-the-average-rate-of-change-of-a-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nothing is what you cannot measure. Yet.</title>
		<link>http://www.rabbitcreative.com/2009/08/31/nothing-is-what-you-cannot-measure-yet/</link>
		<comments>http://www.rabbitcreative.com/2009/08/31/nothing-is-what-you-cannot-measure-yet/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 03:47:12 +0000</pubDate>
		<dc:creator>Rabbit</dc:creator>
				<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://www.rabbitcreative.com/?p=273</guid>
		<description><![CDATA[Money is one measure of success.
Family is one measure of success.
The number of beautiful, expensive prostitutes you have gleefully fucked is a measure of success.
Now it&#8217;s your turn. Define at least one measure of success, for you, personally, and add it to that list.
From that list, pick any number of measures you find desirable.
Congratulations. You [...]]]></description>
			<content:encoded><![CDATA[<p>Money is one measure of success.</p>
<p>Family is one measure of success.</p>
<p>The number of beautiful, expensive prostitutes you have gleefully fucked is a measure of success.</p>
<p>Now it&#8217;s your turn. Define at least one measure of success, for you, personally, and add it to that list.</p>
<p>From that list, pick any number of measures you find desirable.</p>
<p>Congratulations. You have defined your personal definition of success.</p>
<p>Until you are able to measure success, you cannot know whether you are successful.</p>
<p>That&#8217;s my &#8220;motivating speaker&#8221; bit. Now for the math bit.</p>
<p>A ratio contains two parts. A numerator and a denominator. The denominator can be thought of as your base, or rate. An example of a rate in action can be seen by simply counting. You can count by 1: 1, 2, 3, 4&#8230; In each iteration, you counted at a rate of 1. Let&#8217;s consider a rate of 4: 4, 8, 12, 16&#8230; In each iteration, you counted at a rate of 4. The job of the denominator is to determine how many times (or what percentage) of its own area will it take to completely encompass the area of the numerator.</p>
<p>Another take: If I have one bottle that holds one gallon of water, will it be less than full, exactly full, or more than full (overflowing) if I pour second bottle of water into the first? Clearly, you cannot answer that question until you know the size of the second bottle of water. And that, is the numerator&#8217;s job.</p>
<p>A denominator could also be, say, American dollars. Simply saying, &#8220;I have $420.&#8221; could be written as 420/$. See it now? Denominators can be anything. Literally. Anything, except, that is, nothing.</p>
<p>Nothing is what you cannot measure.</p>
<p>That phrase again.</p>
<p>If we use the denominator as a way to measure something, ask yourself: how can I measure something (the numerator) based on nothing (the denominator)?</p>
<p>More than anything, I hope you take away from this a better understanding of what a ratio is and, possibly to a lesser extent, what division is. I also hope the answer will make the &#8220;undefined&#8221; definition of division by zero more clear to you.</p>
<p>Happy counting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rabbitcreative.com/2009/08/31/nothing-is-what-you-cannot-measure-yet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
