<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>quadratic &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/quadratic/</link>
	<description>Feed of posts on WordPress.com tagged "quadratic"</description>
	<pubDate>Fri, 25 Dec 2009 13:13:43 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Quadratic Formula]]></title>
<link>http://hschant2.wordpress.com/2009/10/22/quadratic-formula/</link>
<pubDate>Thu, 22 Oct 2009 22:26:10 +0000</pubDate>
<dc:creator>hschant2</dc:creator>
<guid>http://hschant2.wordpress.com/2009/10/22/quadratic-formula/</guid>
<description><![CDATA[Yesterday, I witnessed something pretty cool and reminded me of my last technology class on voicethr]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Yesterday, I witnessed something pretty cool and reminded me of my last technology class on voicethreads.  I was in between teaching classes, and the teacher I share a room with had just finished explaining/introducing the quadratic formula in his intermediate math class.  We were discussing the different songs we have used and learned to remember it by, some including theme songs to semame street and notre dame football.  He was trying to sing his to me, but claimed he was &#8220;tone deaf&#8221;, so he quickly logged onto his class website and pulled up a video!  It was of a teacher that he co-teaches with singing the actual song&#8230;..obviously with a better voice!  He put it on there to remind students of the quadratic formula and its significance, while keeping math fun and entertaining.  The kids will always have access to it, which is nice for those nights that they miss their math teachers so much that they have to watch them online <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[C++ Quadratic Solver]]></title>
<link>http://zheronelit.wordpress.com/2009/10/08/c-quadratic-solver/</link>
<pubDate>Thu, 08 Oct 2009 09:01:52 +0000</pubDate>
<dc:creator>Mark Darwin</dc:creator>
<guid>http://zheronelit.wordpress.com/2009/10/08/c-quadratic-solver/</guid>
<description><![CDATA[Program Description Quadratic equation is an equation where the highest power of x is x2.  The gener]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Program Description</strong></p>
<p>Quadratic equation is an equation where the highest power of x is x<sup>2</sup>.  The general form of a quadratic equation is</p>
<p align="center">ax<sup>2 </sup>+ bx + c = 0; where a≠ 0.</p>
<p>The letters a, b, and c are called coefficients: a is the quadratic coefficient of x<sup>2</sup>, b is linear coefficient of x, and c is the constant coefficient.</p>
<p>One of the methods to solve quadratic equation is the use of quadratic formula given below:</p>
<p><img class="aligncenter size-full wp-image-21" title="Picture1" src="http://zheronelit.wordpress.com/files/2009/10/picture11.png" alt="Picture1" width="206" height="70" /></p>
<p>Here is a program that will ask for the three coefficients and will solve for the roots of x using the quadratic formula.</p>
<p><strong><span style="color:#000080;">Output</span></strong></p>
<p style="padding-left:30px;"><span style="color:#000080;"><span style="color:#000000;">Enter a value for coefficient a :  1</span></span></p>
<p style="padding-left:30px;"><span style="color:#000080;"><span style="color:#000000;">Enter a value for coefficient b :  4</span></span></p>
<p style="padding-left:30px;"><span style="color:#000080;"><span style="color:#000000;">Enter a value for coefficient c :  3</span></span></p>
<p style="padding-left:30px;">
<p style="padding-left:30px;"><span style="color:#000080;"><span style="color:#000000;">The roots of x are : -1 and 3</span></span></p>
<p style="padding-left:30px;">
<p><span style="color:#000080;"><span style="color:#000000;"><strong><span style="color:#000080;">Source Code</span></strong></span></span></p>
<p>#include &#60;iostream&#62;<br />
#include &#60;cmath&#62;<br />
using namespace std;</p>
<p>int main()<br />
{<br />
int a, b, c;<br />
cout&#60;&#60;&#8221;Enter value for coefficient a: &#8220;;<br />
cin&#62;&#62;a;<br />
cout&#60;&#60;&#8221;Enter value for coefficient b: &#8220;;<br />
cin&#62;&#62;b;<br />
cout&#60;&#60;&#8221;Enter value for coefficient c: &#8220;;<br />
cin&#62;&#62;c;<br />
double in=pow(b,2.0)-(4*a*c);<br />
float num1=-b+sqrt(in);<br />
float num2=-b-sqrt(in);<br />
float x1=num1/(2*a);<br />
float x2=num2/(2*a);<br />
cout&#60;&#60;&#8221;\n \n&#8221;;<br />
cout&#60;&#60;&#8221;The roots of x are: &#8220;&#60;&#60;x1&#60;&#60;&#8221; and &#8220;&#60;&#60;x2&#60;&#60;endl;<br />
return 0;<br />
}</p>
<p><img class="alignleft size-full wp-image-84" title="Picture8" src="http://zheronelit.wordpress.com/files/2009/10/picture8.jpg" alt="Picture8" width="390" height="175" /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Problem 27 - Prime Generating Quadratics]]></title>
<link>http://eulerscircus.wordpress.com/2009/09/27/problem-27-prime-generating-quadratics/</link>
<pubDate>Mon, 28 Sep 2009 01:48:31 +0000</pubDate>
<dc:creator>sumidiot</dc:creator>
<guid>http://eulerscircus.wordpress.com/2009/09/27/problem-27-prime-generating-quadratics/</guid>
<description><![CDATA[With my freshly minted PrimeOracle, I&#8217;m ready to attack problem 27, in which we are asked to f]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>With my freshly minted <a href="http://eulerscircus.wordpress.com/2009/09/27/prime-oracle/">PrimeOracle</a>, I&#8217;m ready to attack <a href="http://projecteuler.net/index.php?section=problems&#38;id=27">problem 27</a>, in which we are asked to find polynomials that generate long strings of consecutive primes starting when you plug in 0.</p>
<p>Basically my idea for this problem was to iterate through all of the choices for the coefficients <img src='http://l.wordpress.com/latex.php?latex=a&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a' title='a' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=b&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='b' title='b' class='latex' /> in <img src='http://l.wordpress.com/latex.php?latex=n%5E2%2Ban%2Bb&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n^2+an+b' title='n^2+an+b' class='latex' />, and then for each polynomial plug in values until we hit a composite. Record maximums as appropriate.</p>
<p>There are a few easy optimizations to make. First, <img src='http://l.wordpress.com/latex.php?latex=b&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='b' title='b' class='latex' /> itself has to be prime, because we test <img src='http://l.wordpress.com/latex.php?latex=n%3D0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n=0' title='n=0' class='latex' />. Next we test <img src='http://l.wordpress.com/latex.php?latex=n%3D1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n=1' title='n=1' class='latex' />, so we need <img src='http://l.wordpress.com/latex.php?latex=1%2Ba%2Bb%5Cgeq+2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1+a+b\geq 2' title='1+a+b\geq 2' class='latex' />, that is <img src='http://l.wordpress.com/latex.php?latex=a%5Cgeq+1-b&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a\geq 1-b' title='a\geq 1-b' class='latex' />. Those are the only optimizations I made, though I&#8217;m sure there are some more advanced ones out there.</p>
<p>So here&#8217;s my code:</p>
<pre class="brush: python;">
# assume PrimeOracle.py is in the same directory as this file
from PrimeOracle import PrimeOracle

def solve(n):
    # seed our oracle to 2*n+2, since n=1 gives 1+a+b
    isprime = PrimeOracle(2*n + 2)
    maxp, maxn = 41, 40
    for b in [m for m in xrange(2, n) if isprime[m] ]:
        for a in xrange(1-b, n):
            idx = 1 # we already tesetd 0 with isprime[b]
            while(isprime[idx*idx+idx*a+b]):
                idx += 1
            if(idx - 1 &#62; maxn):
                maxp, maxn = a*b, idx - 1
    return maxp
</pre>
<p>I had my oracle also tell me what the biggest number it was asked about was, and the answer was up around 12000. So we could change the starting seed in the oracle to be big enough to never have to extend, and probably save some time.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Another Quadratic Classical Labyrinth]]></title>
<link>http://blogmymaze.wordpress.com/2009/09/27/another-quadratic-classical-labyrinth/</link>
<pubDate>Sat, 26 Sep 2009 23:00:50 +0000</pubDate>
<dc:creator>Erwin</dc:creator>
<guid>http://blogmymaze.wordpress.com/2009/09/27/another-quadratic-classical-labyrinth/</guid>
<description><![CDATA[Suitably to the preceding post I have been pushed to another type of quadratic labyrinth. This week ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Suitably to the preceding post I have been pushed to another type of quadratic labyrinth.</p>
<p>This week I received (as a TLS member) the third edition of <em>Labyrinth Pathways</em>. At the back the graphic of this labyrinth was illustrated. I suppose that Jeff Saward has designed it.</p>
<div id="attachment_1345" class="wp-caption aligncenter" style="width: 310px"><a title="A quadratic classical labyrinth" href="http://bloggermymaze.wordpress.com/files/2009/09/klassisch_quadratisch_mittig_600.jpg" target="_blank"><img class="size-medium wp-image-1345  " title="A quadratic classical labyrinth" src="http://bloggermymaze.wordpress.com/files/2009/09/klassisch_quadratisch_mittig_600.jpg?w=300" alt="A quadratic classical labyrinth" width="300" height="300" /></a><p class="wp-caption-text">A quadratic classical labyrinth</p></div>
<p>It accentuates the middle. The first path also lies on the middle axis as does the last path into the centre. This is possible by a blank (or enclosed) piece in the ways. The four points of inflexion (= the ends of the boundary lines) form no internal square. Both upper ones are located in the diagonals of the whole square.</p>
<p>Though the well-known basic pattern is totally shifted, however, the labyrinth has 7 circuits and the typical path sequence of the classical labyrinth.</p>
<p>The labyrinth offers many possibilities. Hence, it is amazing and fascinating time and again.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Mi clase de español es un (saving grace).]]></title>
<link>http://practicalesoterica.wordpress.com/2009/09/23/mi-clase-de-espanol-es-un-saving-grace/</link>
<pubDate>Wed, 23 Sep 2009 18:35:37 +0000</pubDate>
<dc:creator>Jude</dc:creator>
<guid>http://practicalesoterica.wordpress.com/2009/09/23/mi-clase-de-espanol-es-un-saving-grace/</guid>
<description><![CDATA[Mi clase de matemáticas es en la madrugada y es pequeño difícil, sobre todo con, más y menos, cincos]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Mi clase de matemáticas es en la madrugada y es pequeño difícil, sobre todo con, más y menos, cincos horas de dormir.</p>
<p>Someone should let me know if that made sense.<br />
Spanish is going great however and should be a breeze as long-archived vocabulary and grammar returns to more active parts of my brain. Mi cabesa trabaja mucho.</p>
<p>En la clase de matemáticas mi cabesa es muy cansada. Quadratics are coming back with a little brute force and some repetition of the base equation so it sticks in my brain. I am too eager in math to jump and try to take shortcuts because of visual relationships that fail to consider orders of operations. This is a habit I need to overcome if Engineering is going to be even a glimmer in the distance. I&#8217;m failing math currently.</p>
<p>The crux of my issue is the age old &#8220;Why don&#8217;t you just measure it with a ruler?&#8221; conundrum. Nowhere is this more apparent than in a class full of photographers calculating the area of frames around pictures. Everyone is getting frusterated, which should be comforting (at least it&#8217;s not just me), yet I know that the applications of this stuff for my projects is going to be invaluable. When you&#8217;re building things like frame jigs (3d renderings later tonight!) you need to compute units and increments in order to build rulers and protractors into the design. I need to know the value of side x of a triangle when I know that one side is 64cm (seat tube) and two of the angles are 73.5 degrees or so.</p>
<p>But why can&#8217;t we learn math with real world applications built in from the beginning? Finding ambiguous X makes me want to pull the &#8220;Here it is!&#8221; stunt. I guess I should just try to work in my math work into my 3d modelling (In Aslar-Vellum Cobalt v8 for the next week and a half!). Let&#8217;s start modelling the frame jig on the basis of material surrounding the adjustment slots&#8230;hey wait that&#8217;s not a bad Idea! In fact that would probably create a jig with minimum waste-strength ratio as well as cut the weight down&#8230;.Equations and v1 of the jig (sans optimized dimensions for waste reduction) to come later tonight when no estudio por la clase de español.</p>
<p>Hasta luego mis compañeros!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Harry Potter, Bad Movies and the actors who Star in them, Disney movies, CGU ads.]]></title>
<link>http://alex592.wordpress.com/2009/08/30/harry-potter-bad-movies-and-the-actors-who-star-in-them-disney-movies-cgu-ads/</link>
<pubDate>Sun, 30 Aug 2009 02:23:50 +0000</pubDate>
<dc:creator>alex592</dc:creator>
<guid>http://alex592.wordpress.com/2009/08/30/harry-potter-bad-movies-and-the-actors-who-star-in-them-disney-movies-cgu-ads/</guid>
<description><![CDATA[That title is a punctuation FAIL. I&#8217;m almost like Margo Roth Spiegelman. Paper Towns, read it.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>That title is a punctuation FAIL. I&#8217;m almost like Margo Roth Spiegelman. Paper Towns, read it.</p>
<p>I thought I should put up a post, because it&#8217;s been a while. But really, all I&#8217;m doing is avoiding media, maths and music homework. And that isn&#8217;t even the ONLY homework I have. Oh, there&#8217;s more. Geography. Classics. Actually I can&#8217;t think of anything else&#8230;oh, Science. But media, maths and music are just the stuff that I plan on doing today.</p>
<p>Can you believe that in WordPress&#8217; Top Blogs, the Celebrity Baby Blog is at Number 4? Who READS that? It can&#8217;t be that intertesting! Whatever.</p>
<p>HPOotP was on TV last night (hope you can decipher those letters). I really hate the dumb person that decided it would be an awesome idea to have a silent slow motion scene when Lupin was holding Harry back as he screamed in mourning at Sirius&#8217; death. I also hate JKR for killing Sirius in the first place. Not cool. Actually that movie was all round crappy.</p>
<p>I&#8217;ve been trying to remember Japanese lately. 5 hours a fortnight for 2 school years, and I&#8217;ve forgotten a lot. I think I still remember all the Hiragana, but as far as actual sentences go. Onamawa nan desuka? Namae wa Alex desu. Tamago. Osutoraria. Then all the others I remember are just words that sound English. Chikin. Caku. Piza. Ich ni san shi go roku. Piza o tabemasu.</p>
<p>I&#8217;m bored with you, blog. Goodbye. Ruby if you&#8217;re reading this, I know I haven&#8217;t replied to your comments yet. In the Look What I Found thing, it was Simone and &#8230;Pumba? Was that the ferret thing&#8217;s name? I don&#8217;t know. I&#8217;ve only seen that movie once. Actually&#8230;twice. Aladdin is cooler than the Lion King. Genie is cool. Except for the fact that he&#8217;s Robin Williams. Have you ever seen RV? That movie is horrible. Horrible. Almost as bad as The Pink Panther. Oh god, that was just&#8230;I don&#8217;t want to relive it. Those two movies made me hate Robin Williams and Steve Martin forever.</p>
<p>Alright that&#8217;s enough. Farewell.</p>
<p>PS: CGU ads are COOL. Wish I was Susan. She&#8217;s a providore. She just opened her second store. Try her cheddar, you won&#8217;t find better, go on, try some of her Bulgarian Fetta. Whoever you are&#8230;Susan! Whatever you do! Providore! We put the U in CGU!</p>
<p>Yeah I know that won&#8217;t make sense unless you&#8217;ve seen the ads.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Factoring Quadratics]]></title>
<link>http://pjhutton.wordpress.com/2009/07/23/factoring-quadratics/</link>
<pubDate>Thu, 23 Jul 2009 00:22:45 +0000</pubDate>
<dc:creator>pjhutton</dc:creator>
<guid>http://pjhutton.wordpress.com/2009/07/23/factoring-quadratics/</guid>
<description><![CDATA[Quadratic Factoring To factor a quadratic expression written in the general form of ax2 + bx + c,  m]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Quadratic Factoring</p>
<p>To factor a quadratic expression written in the general form of ax<sup>2</sup> + bx + c,  means to factor a trinomial into two binomials . The binomials are expressions that when multiplied using the distributive property will result in the trinomial. A trinomial has three terms, an x<sup>2</sup> term, an x term, and a constant. After factoring, the expression will show the multiplication of two binomials, each with two terms that are added or subtracted.</p>
<p>To break down a trinomial the FOIL method is used in reverse. The steps in the FOIL method are:</p>
<p><strong>F</strong>irst &#8211; Multiply the first term in each set of parentheses</p>
<p><strong>O</strong>uter &#8211; Multiply the outer term in each set of parentheses</p>
<p><strong>I</strong>nner &#8211; Multiply the inner term in each set of parentheses</p>
<p><strong>L</strong>ast  &#8211; Multiply the last term in each set of parentheses</p>
<p><strong> Example 1: x<sup>2 </sup>+ 5x + 6</strong></p>
<p> Set up parentheses to show the 2 binomials like this:</p>
<p> </p>
<p>( __ + ___ )( ___ + ____)</p>
<p> </p>
<p>Start by listing the factors of the first and last term. 5x will be the trickiest one to find so it will be last.</p>
<p> </p>
<p>Factors of x<sup>2 </sup>: x</p>
<p>Factors of 6: -6,-3,-2,-1,1,2,3,6</p>
<p>The only way to get x<sup>2</sup> is to multiply x by itself.</p>
<p> </p>
<p>( <span style="text-decoration:underline;">x</span>__ + ___ )( __<span style="text-decoration:underline;">x</span>_ + ____)</p>
<p>The next step is to find two factors of 6 that add up to 5 for the term 5x. If the terms in the binomials were negative the middle term would also be negative so we need a positive pair of factors that add up to 5. The only possible factors that fit are 2 and 3.</p>
<p> </p>
<p>( <span style="text-decoration:underline;">x</span>__ + __<span style="text-decoration:underline;">2</span>_ )( __<span style="text-decoration:underline;">x</span>_ + _<span style="text-decoration:underline;">3</span>___)</p>
<p>Now check using the FOIL method.</p>
<p> </p>
<p>( <span style="text-decoration:underline;">x</span>__ + __<span style="text-decoration:underline;">2</span>_ )( __<span style="text-decoration:underline;">x</span>_ + _<span style="text-decoration:underline;">3</span>___)</p>
<p> </p>
<p>First: (x)(x)= x<sup>2</sup></p>
<p>Outside: (x)(3)=3x</p>
<p>Inside: (2)(x)=2x</p>
<p>Last: (2)(3)=6</p>
<p>x<sup>2</sup> +3x + 2x + 6= x<sup>2 </sup>+5x+6 This is the original trinomial. All the terms are positive in this example but this is not always the case.</p>
<p> </p>
<p><strong>Example 2: </strong></p>
<p><strong>x<sup>2 </sup>-6x +8</strong></p>
<p>Factors of x<sup>2</sup>: x</p>
<p>Factors of 8: -8,-4,-2,-1,1,2,4,8</p>
<p>The second term is negative so the 2 factors must be negative. Two negative integers added together will equal a negative and multiplied will equal a positive.</p>
<p>( <span style="text-decoration:underline;">x</span>__ -__<span style="text-decoration:underline;">2</span>_ )( __<span style="text-decoration:underline;">x</span>_ -_<span style="text-decoration:underline;">4</span>___)</p>
<p>Use FOIL to check:</p>
<p>First: (x)(x)= x<sup>2</sup></p>
<p>Outside: (x)(-4)=-4x</p>
<p>Inside: (-2)(x)=-2x</p>
<p>Last: (-2)(-4)=8</p>
<p> </p>
<p>x<sup>2</sup> -4x &#8211; 2x + 8= x<sup>2 </sup>-6x+8</p>
<p> </p>
<p><strong>Example 3:</strong></p>
<p><strong>x<sup>2</sup> -x -12</strong></p>
<p>Factors of x<sup>2</sup>: x</p>
<p>Factors of 12: -12,-6,-4,-3,-2,-1,1,2,3,4,6,12 The constant in this example is negative so it must be the product of a negative integers and a positive integer. The 2 factors must add up to -1, the b value.  -4 and 3 are the only factors that add up to -1 while also resulting in -12 when multiplied.</p>
<p>( <span style="text-decoration:underline;">x</span>__ -__<span style="text-decoration:underline;">3</span>_ )( __<span style="text-decoration:underline;">x</span>_ +_<span style="text-decoration:underline;">4</span>___) </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>Did paraphrasing the words help you internalize the concepts more?</p>
<p>Paraphrasing was very helpful because I needed to clearly picture the steps before I could translate them into language my students would understand. I also had to create my own examples and then apply the steps of both factoring and then checking using FOIL to make sure they were accurate examples. That let me think through the process so that I was better prepared to teach this as a lesson.</p>
<p>How can you apply this type of exercise in a lesson for your own students?</p>
<p>Students could create a demonstration for teaching factoring to students in another class using technology such as PowerPoint or iMovie where they can visually show the steps. They could then describe the development process as well as the presentation in their interactive math notebooks or in a journal.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Observer Yort File 1: Initial Observations on Basic Leadership Structure of Hive [Orlando]]]></title>
<link>http://jackofspades83.wordpress.com/2009/06/22/observer-yort-file-1/</link>
<pubDate>Mon, 22 Jun 2009 16:13:28 +0000</pubDate>
<dc:creator>jackofspades83</dc:creator>
<guid>http://jackofspades83.wordpress.com/2009/06/22/observer-yort-file-1/</guid>
<description><![CDATA[See Previous Transmission Here See All Transmissions Here “There is no better indicator of a species]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://jackofspades83.wordpress.com/2009/06/18/yorts-reports-intro/">See Previous Transmission Here</a><br />
<a href="http://jackofspades83.wordpress.com/yorts-reports/">See All Transmissions Here</a></p>
<p><em>“There is no better indicator of a species being ready for solar system exploration than the development of the toaster.  The toaster demonstrates that a species has developed mechanization, the harnessing of electrical energy for constructive purposes, and the distribution of sliced bread.”</em><br />
-Professor sqrt((10x<sup>2</sup>+5x+1)/pi), University of Central Cosine</p>
<p></p>
<p>Universal cycle 4, Subunit 301.405.1:  Salutations Compilers, to whom all data is subject and to whom designate all sequential orderings.  These are the collected recordings of constructed sentient Y-4514, designation Yort.  It is this unit&#8217;s distinct pleasure to serve in the eternal struggle of ever recycling observation and analysis.  As a servant of the enlightened inquivistivation there is no higher honor than to observe the more highly dynamic civilizations.  As such few civilizations observed within this universal cycle are as charmingly schizophrenic and unstable as [humanity].</p>
<p></p>
<p>Pre-infiltration scans of media, and rectal scans of more “dynamic” drones of human society, reveal a fragmented consciousness typical of juvenile species.  The most noticeable feature of [homo-sapiens] on a macro level is their tendency to further divide themselves into large, complex units defined as [nations].  [Nations] can be defined as units of societal grouping that are characterized by only a marginal collective hatred between its component units, which is overshadowed by their collective hatred of the component units of other [nations].</p>
<p>  </p>
<p>Another defining characteristic of nations is their geographical element, in which nations are confined to regions within invisible boundaries or “borders”.  It becomes immediately apparent that [homo-spaiens] seem to have a level of hatred and distrust for other [homo-sapiens] that increases in a relative proportionally to the total distance from which they were spawned.  [Nations] are thus an abstraction which show the approximate distance of inter-[homo-sapien] cooperation for a given voluntary collective of [homo-spaiens].  [Homo-sapiens] also have the tendency to hate other [homo-spaiens] as a collective group, rather than as individual units, permitting a degree of fluid travel across borders.</p>
<p></p>
<p>I have chosen to infiltrate the most influential of these [nations], in what is arguably the most well-known of their thoroughly average class of hives, that has chosen to refer to itself as [Orlando].  My initial survey of the hive reveals that it&#8217;s leadership class is selected by a ritual which involves displaying plumage in the form of placards placed outside dwellings, on transportation arteries, hydrocarbon land/air vehicles, garments, and media transmissions.  The [homo-sapien] with the most intricate and distributed plumage is given nearly unrestrained access to the mechanisms of hive development, and are promptly forgotten by the majority of the hive.  The process is repeated in a regular cycle, where the current leadership class reminds the hive that they are, to us the [homo-sapien] expression, “heated feces”.</p>
<p></p>
<p>Comparable to the leadership class is what I have decided to refer to as the Edification Erection Arrangers (EEA).  They have a symbiotic relationship with the leadership class in which it provides plumage in exchange for nearly exclusive access to communal resources.  As mentioned by the initial report fashioned by the the Office of Interstellar Observers, [homo-sapiens] have a unique concept of [private ownership].  In such a relationship, a [homo-sapien] claims exclusive access to a material object which becomes [theirs].  Any unauthorized attempt to access the claimed object is responded to with a varying degree of hostility, in some cases resulting in termination of either the expropriator or the expropriate.</p>
<p>
	</p>
<p>[Homo-sapiens] will reluctantly part with [personal property] to the leadership class for the development of the hive.  These resources are then transferred directly to members of the EEA who will develop plans to add on to the hive, and direct drones to do the actual physical work.  It seems that what is ultimately constructed under the direction of the EEA is relatively unimportant as long as it is big, costly, and the EEA is allowed to claim ownership of it.  Other than the transfer of resources to the EEA the leadership class itself seems largely irrelevant, and seems to be a symbolic position when compared to the power welded by members of the EEA.  Further complicating the relationship is the tendency of members of the EEA to also be members of the leadership class as well.</p>
<p></p>
<p>Theoretically members of the leadership class are directly responsible to drones of the hive, which despite widespread disapproval of the leadership class is oddly still the general sentiment of the majority of hive drones.  In practice, hive drones are given the opportunity to voice disapproval at minority of the meetings of the leadership class.  These sentiments are then acknowledged and openly ignored.  From what I can tell, the operation of the management of the hive is very similar to the operation of what [homo-sapiens] refer to as a [business] (a subject which will require much elaboration), in all but the opportunity to be personally ignored by the leadership class.</p>
<p></p>
<p>The general populace of the [Orlando] hive is rather sedentary in most aspects, most notably in its interactions with its leadership class.  It is quite a feat that the hive operates at all, as the drones fracture themselves into a myriad of social fragments, with many eschewing social interaction to a degree unfathomable in our [???] society.  I am worried that the degree of interaction required to accurately document this one hive may be more than I can spare.  The publishing date for the -1st edition of the Omni-pedia of Sentient Species is rapidly approaching, and I dare not face the wrath of the Compilers or miss the next universal cycle.  I also fear that infiltration will be delicate and will require transformations between multiple subjects to be able to travel between social fragments without drawing unwanted attention.</p>
<p>       </p>
<p>To return from that semi-personal tangent (all necessary apologies) back to the subject at hand.  Hatred for the leadership class is nearly universal among the drones, although oddly fewer drones despise the members of the EEA and a good number actually revere them.  Of the latter, they place undue emphasis on the powers of the hive leaders, and decry something called [socialism], which according to them, is the redistribution of resources by hive leaders to those drones that have a lot of resources to those with relatively few resources. I am uncertain as to how they have come to this seemingly paradoxical conclusion, as the leadership class obviously does the exact opposite.  It will require a much higher degree of observation, outside the scope of initial reconnaissance.</p>
<p>         	              </p>
<p>As it is not currently a leadership selection cycle, I have taken the precautionary measure of deleting any and all information on the current leadership class from my internal drives.  I have also initiated contact with a drone that has been forwarded to me via the Office of Interstellar Observers.  It refers to itself as “Branson Fasricci”, and has provided us with subjects that can be used for infiltration.  The deal with this particular drone is outside of my Field of Non-Terminal Information  which will most certainly result in my undergoing VOLT (Violent Organic Liquification Transformation) if observed.  As such, no attempts to observe such information has been attempted.</p>
<p></p>
<p> The first drone that I have been provided with is 3 x 0.15 [non-translatable unit of measurement], 600 [non-translatable unit of measurement], and a somewhat spongy midsection.  It is male with a white skin pigment, relative lack of fur, and has an anal cavity of 309 [non-translatable unit of measurement].  Subject is not rated for atmospheric entry, as has been demonstrated with previous models.</p>
<p>  </p>
<p>As such, per protocol 42 subsection 1.943*10<sup>23</sup>, I will be performing atmospheric entry intercourse via quantithermoplastic cylinder.  Intercourse will be disguised by standard “Nothing to See Here” protocols.  Sperm whales coated in bacon grease are ready for atmospheric deployment at forwarded points alpha, beta, and gamma.  In addition to atmospheric nasal overload, we will be deploying big rocks to drop in forward point zeta to distract the drones with pretty streaks of light.  Yort out.</p>
<p> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Equation Calculator Online]]></title>
<link>http://triyanifajriutami.wordpress.com/2009/05/03/equation-calculator-online/</link>
<pubDate>Sun, 03 May 2009 11:29:45 +0000</pubDate>
<dc:creator>yani</dc:creator>
<guid>http://triyanifajriutami.wordpress.com/2009/05/03/equation-calculator-online/</guid>
<description><![CDATA[Selama ini mengandalkan kalkulator yang kupunyai untuk menyelesaikan persamaan kuadrat (pangkat dua)]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Selama ini mengandalkan kalkulator yang kupunyai untuk menyelesaikan persamaan kuadrat (pangkat dua). Eh&#8230;pas lagi ada tugas kuliah, ketemu soal yang mengharuskanku menghitung persamaan pangkat empat! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_eek.gif' alt='8O' class='wp-smiley' /> Waduh, semasa kuliah S1, apalagi masa SMU, kan ketemunya cuma pangkat dua <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' />  <!--more--></p>
<p>Karena ngga familiar dengan hal ini, iseng-iseng browsing di dunia maya untuk mencari kalkulator online yang bisa memecahkan masalahku ini. Alhamdulillah&#8230;ketemu juga! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Sumber websitenya ada di <a href="http://www.1728.com/"><strong>Calculator City</strong></a>. Rupanya web ini menyediakan banyak fasilitas perhitungan. Ada pengkonversi (panjang, massa, energy, luas, dan lain-lain) dan kalkulator untuk keuangan, geometri, aljabar, trigonometri, kalkulus, astronomi, kimia, fisika, matematika dasar dan lain-lain. Ada juga teori bagaimana menghitung manual di beberapa kalkulator yang disediakan.</p>
<p>Berikut kalkulator yang berhubungan dengan persamaan pangkat dua (<em>quadratic equation</em>), pangkat tiga (<em>cubic equation</em>) dan pangkat empat (<em>quartic equation</em>):</p>
<p><strong>1. Persamaan pangkat dua (<em>Quadratic Equation</em>)</strong><br />
<a href="http://www.1728.com/quadratc.htm"><img src="http://triyanifajriutami.wordpress.com/files/2009/05/quadratic-equation.jpg?w=300" alt="quadratic-equation" title="quadratic-equation" width="300" height="190" class="aligncenter size-medium wp-image-390" /></a></p>
<p><strong>2. Persamaan pangkat tiga (<em>Cubic Equation</em>)</strong><br />
<a href="http://www.1728.com/cubic.htm"><img src="http://triyanifajriutami.wordpress.com/files/2009/05/cubic-equation.jpg?w=300" alt="cubic-equation" title="cubic-equation" width="300" height="248" class="aligncenter size-medium wp-image-391" /></a></p>
<p><strong>3. Persamaan pangkat empat (<em>Quartic Equation</em>)</strong><br />
<a href="http://www.1728.com/quartic.htm"><img src="http://triyanifajriutami.wordpress.com/files/2009/05/quartic-equation.jpg?w=300" alt="quartic-equation" title="quartic-equation" width="300" height="186" class="aligncenter size-medium wp-image-392" /></a></p>
<p>Semoga bermanfaat yah! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Equations (Quadratic)]]></title>
<link>http://studybees.wordpress.com/2009/04/22/equations-quadratic/</link>
<pubDate>Wed, 22 Apr 2009 19:13:01 +0000</pubDate>
<dc:creator>studybees</dc:creator>
<guid>http://studybees.wordpress.com/2009/04/22/equations-quadratic/</guid>
<description><![CDATA[x 2 n2-60n+5  16-x2 Quadratic equations can be labeled by the polynomial http://en.wikipedia.org/wik]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><table border="2" bgcolor="#00ffff">
<tbody>
<tr>
<td><em><span style="color:#000080;">x</span></em><br />
<sup><span style="color:#000080;">2</span></sup> <em><span style="color:#000080;">n</span></em><sup><span style="color:#000080;">2</span></sup><span style="color:#000080;">-60n+5</span> </p>
<p><span style="color:#000080;">16</span><em><span style="color:#000080;">-x</span></em><sup><span style="color:#000080;">2</span> </sup></p>
<div>
<hr /></div>
<div><a href="http://studio4learning.tv/sub_subject.php?id=103&#38;pl=39">Quadratic equations</a> can be labeled by the <a title="Your Math Help" href="http://www.youtube.com/watch?v=-N6871_Lgcc">polynomial</a></div>
<div>http://en.wikipedia.org/wiki/Quadratic_equation</div>
</td>
</tr>
</tbody>
<tbody></tbody>
</table>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Quadratic Inequalties]]></title>
<link>http://trevorpythag.co.uk/2009/04/11/quadratic-inequalties/</link>
<pubDate>Sat, 11 Apr 2009 12:36:12 +0000</pubDate>
<dc:creator>David Woodford</dc:creator>
<guid>http://trevorpythag.co.uk/2009/04/11/quadratic-inequalties/</guid>
<description><![CDATA[Quadratic inequalities can often cause problems when trying to decide which range of x values are th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:left;">Quadratic inequalities can often cause problems when trying to decide which range of x values are the solutions. As they are quadratics you usually get two values of x and then have to decide whether it is the values of x between the two bounds that are the solutions or the values of x either side.</p>
<p>For example when solving the inequality:<br />
2x<sup>2</sup>+x-6&#62;0<br />
we get<br />
(2x-3)(x+2)&#62;0</p>
<p>From this you may be tempted to write x&#60;3/2 and x&#60;-2 however this would be incorrect. The solution must be either -2&#60;3/2, or (x&#60;-2 or x&#62;3/2).<br />
This must be the case for any quadratic with two real roots because all the points between the two roots have one sign and these which are outside the roots have another, as can be clearly seen by considering the general graph.</p>
<p>We can determine which of the two solutions to use by either putting in values to see which work or by drawing a sketch, usually drawing a sketch is the best. For the sketch we only need to consider whether the coefficient of x<sup>2</sup>, in this case 2, is positive or negative so we know which way the graph curves. The y intercept of the graph is irrelevant.</p>
<p>So in our case because 2&#62;=0 the sketch is a &#8220;happy&#8221; face so the y&#62;0 either side of the roots and therefore our solutions for x are:<br />
x&#60;-2 or x&#62;3/2</p>
<p style="text-align:right;">By David Woodford</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Graphing Parabolas.]]></title>
<link>http://mrfollett.wordpress.com/2009/03/31/graphing-parabolas/</link>
<pubDate>Tue, 31 Mar 2009 22:06:01 +0000</pubDate>
<dc:creator>mrfollett</dc:creator>
<guid>http://mrfollett.wordpress.com/2009/03/31/graphing-parabolas/</guid>
<description><![CDATA[I made a simple worksheet asking students to use graphing calculators to graph quadratic equations i]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I made a simple worksheet asking students to use graphing calculators to graph quadratic equations in sets of 4. For example, the first set was:</p>
<p><img class="alignnone size-full wp-image-90" title="tex2imphp1" src="http://mrfollett.wordpress.com/files/2009/03/tex2imphp1.png" alt="tex2imphp1" width="427" height="29" /></p>
<p>They were then required to sketch the graphs and write a statement about how the graphs were related by transformation.</p>
<p>The final part of the lesson was when I really stretched them. I created a powerpoint with images of graphs I had made using an <a href="http://my.hrw.com/math06_07/nsmedia/tools/Graph_Calculator/graphCalc.html">online graphing calculator</a> and asked students to make their calculator screens match my screen. Without having formalized rules for quadratic equations and graphs my students were able to do it, they discovered the rules and patterns.</p>
<p><img class="aligncenter size-full wp-image-91" title="parabola-graph" src="http://mrfollett.wordpress.com/files/2009/03/parabola-graph.gif" alt="parabola-graph" width="500" height="242" /></p>
<p>Files:</p>
<p><a href="http://mrfollett.files.wordpress.com/2009/03/quadratic-graphs-and-transformations.doc">worksheet</a></p>
<p><a href="http://mrfollett.files.wordpress.com/2009/03/graphing-parabolas-matching.ppt">powerpoint</a></p>
<p style="text-align:center;"><!--[if !mso]&#62;--></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Aiming accurately at moving targets]]></title>
<link>http://warpycode.wordpress.com/2009/03/30/aiming-accurately-at-moving-targets/</link>
<pubDate>Mon, 30 Mar 2009 11:04:08 +0000</pubDate>
<dc:creator>christianperfect</dc:creator>
<guid>http://warpycode.wordpress.com/2009/03/30/aiming-accurately-at-moving-targets/</guid>
<description><![CDATA[In this post, SpaceTW asked: Hi, I need help aiming at moving targets for a program. I have the vari]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>In <a href="http://www.blitzbasic.com/Community/posts.php?topic=83782#945737">this post</a>, SpaceTW asked:</p>
<blockquote><p>Hi, I need help aiming at moving targets for a program. I have the variables for the speed and direction of the enemies, but the targeting is still not accurate enough.</p></blockquote>
<p>There&#8217;s a very simple solution if you don&#8217;t mind the bullets travelling at different speeds, but that can lead to bullets travelling very fast or very slow, so let&#8217;s say that we want every bullet to go the same speed. Here&#8217;s the solution:</p>
<p>Suppose you have a tower at a fixed position <img src='http://l.wordpress.com/latex.php?latex=%28x_0%2Cy_0%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(x_0,y_0)' title='(x_0,y_0)' class='latex' />, and an enemy at initial position <img src='http://l.wordpress.com/latex.php?latex=%28x_1%2Cy_1%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(x_1,y_1)' title='(x_1,y_1)' class='latex' /> moving in the direction <img src='http://l.wordpress.com/latex.php?latex=%28v_x%2Cv_y%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(v_x,v_y)' title='(v_x,v_y)' class='latex' />.</p>
<p>You want to shoot a bullet travelling at a certain velocity <img src='http://l.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' /> so that it collides with the enemy.</p>
<p>Let the direction of the bullet be <img src='http://l.wordpress.com/latex.php?latex=%28d_x%2Cd_y%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(d_x,d_y)' title='(d_x,d_y)' class='latex' />.</p>
<p>If <img src='http://l.wordpress.com/latex.php?latex=d_x%3Dv_x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_x=v_x' title='d_x=v_x' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=d_y%3Dv_y&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_y=v_y' title='d_y=v_y' class='latex' />, then the bullet will move in parallel with the enemy, always staying the same distance from it.</p>
<p>You can now consider that the enemy is not moving at all, relative to the bullet, and the difference in position between them is <img src='http://l.wordpress.com/latex.php?latex=%28x_1-x_0%2C+y_1-y_0%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(x_1-x_0, y_1-y_0)' title='(x_1-x_0, y_1-y_0)' class='latex' />. The bullet can move along this line to collide with the bullet.</p>
<p>If the bullet takes <img src='http://l.wordpress.com/latex.php?latex=t&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='t' title='t' class='latex' /> frames to reach the bullet, we now get:</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brcl%7Dd_x+%3D+%28x_1-x_0%29%2Ft+%2B+v_x+%5C%5C+d_y+%3D+%28y_1-y_0%29%2Ft+%2B+v_y+%5Cend%7Barray%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\begin{array}{rcl}d_x = (x_1-x_0)/t + v_x \\ d_y = (y_1-y_0)/t + v_y \end{array}' title='\begin{array}{rcl}d_x = (x_1-x_0)/t + v_x \\ d_y = (y_1-y_0)/t + v_y \end{array}' class='latex' /></p>
<p>As we said that the bullet&#8217;s velocity is <img src='http://l.wordpress.com/latex.php?latex=V&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='V' title='V' class='latex' />, we get</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=d_x%5E2+%2B+d_y%5E2+%3D+V%5E2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_x^2 + d_y^2 = V^2' title='d_x^2 + d_y^2 = V^2' class='latex' /></p>
<p>Which expands out to:</p>
<p><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brcl%7D+%5Cleft%28%5Cfrac%7B1%7D%7Bt%7D%5Cright%29%5E2+%5Cleft%5B+%28x_1+-+x_0%29%5E2+%2B+%28y_1+-+y_0%29%5E2+%5Cright%5D+%26%2338%3B%26%2338%3B+%5C%5C+%2B+%5Cfrac%7B1%7D%7Bt%7D+%5Cleft%5B+v_x+%28x_1+-+x_0%29+%2B+v_y+%28+y_1+-+y_0%29+%5Cright%5D+%26%2338%3B%26%2338%3B%5C%5C+%2B+v_x%5E2+%2B+v_y%5E2+-+V%5E2+%26%2338%3B%3D%26%2338%3B+0+%5Cend%7Barray%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\begin{array}{rcl} \left(\frac{1}{t}\right)^2 \left[ (x_1 - x_0)^2 + (y_1 - y_0)^2 \right] &amp;&amp; \\ + \frac{1}{t} \left[ v_x (x_1 - x_0) + v_y ( y_1 - y_0) \right] &amp;&amp;\\ + v_x^2 + v_y^2 - V^2 &amp;=&amp; 0 \end{array}' title='\begin{array}{rcl} \left(\frac{1}{t}\right)^2 \left[ (x_1 - x_0)^2 + (y_1 - y_0)^2 \right] &amp;&amp; \\ + \frac{1}{t} \left[ v_x (x_1 - x_0) + v_y ( y_1 - y_0) \right] &amp;&amp;\\ + v_x^2 + v_y^2 - V^2 &amp;=&amp; 0 \end{array}' class='latex' /></p>
<p>(I had to split that over a few lines so it would fit in the post column, sorry!)</p>
<p>Which is a quadratic equation! So set:</p>
<p><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brcl%7D+a+%26%2338%3B%3D%26%2338%3B+%28x_1-x_0%29%5E2+%2B+%28y_1-y_0%29%5E2+%5C%5C+b+%26%2338%3B%3D%26%2338%3B++2%5B+v_x%28x_1-x_0%29+%2B+v_y%28y_1-y_0%29+%5D+%5C%5C+c+%26%2338%3B%3D%26%2338%3B++v_x%5E2+%2B+v_y%5E2+-+V%5E2+%5Cend%7Barray%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\begin{array}{rcl} a &amp;=&amp; (x_1-x_0)^2 + (y_1-y_0)^2 \\ b &amp;=&amp;  2[ v_x(x_1-x_0) + v_y(y_1-y_0) ] \\ c &amp;=&amp;  v_x^2 + v_y^2 - V^2 \end{array}' title='\begin{array}{rcl} a &amp;=&amp; (x_1-x_0)^2 + (y_1-y_0)^2 \\ b &amp;=&amp;  2[ v_x(x_1-x_0) + v_y(y_1-y_0) ] \\ c &amp;=&amp;  v_x^2 + v_y^2 - V^2 \end{array}' class='latex' /></p>
<p>Then, using the <a href="http://en.wikipedia.org/wiki/Quadratic_equation#Quadratic_formula">quadratic formula</a>:</p>
<p><img src='http://l.wordpress.com/latex.php?latex=%5Cfrac%7B1%7D%7Bt%7D+%3D+%5Cfrac%7B-b+%2B+%5Csqrt%7B+b%5E2+-+4ac%7D%7D%7B2a%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\frac{1}{t} = \frac{-b + \sqrt{ b^2 - 4ac}}{2a}' title='\frac{1}{t} = \frac{-b + \sqrt{ b^2 - 4ac}}{2a}' class='latex' /></p>
<p>You can now put that back into the equations for <img src='http://l.wordpress.com/latex.php?latex=d_x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_x' title='d_x' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=d_y&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='d_y' title='d_y' class='latex' />, and you&#8217;re done!</p>
<p>Here&#8217;s the result, written in BlitzMax:</p>
<pre class="code">diffx:double=x2-x1
diffy:double=y2-y1
v:Double=3                'desired speed of bullet

a:Double=diffx*diffx+diffy*diffy
b:Double=2*(vx*diffx+vy*diffy)
c:Double=vx*vx+vy*vy-v*v

tInv#=(-b+Sqr(b*b-4*a*c))/(2*a)   ' solve 1/t
dx=diffx*tInv+vx
dy=diffy*tInv+vy</pre>
<p>That&#8217;s it!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Peaking Along the Career Parabola]]></title>
<link>http://freshisback.com/2009/02/02/work-parabola/</link>
<pubDate>Mon, 02 Feb 2009 06:26:56 +0000</pubDate>
<dc:creator>FRESHisBACK</dc:creator>
<guid>http://freshisback.com/2009/02/02/work-parabola/</guid>
<description><![CDATA[A few weeks ago, I was writing an email when I caught myself mixing up &#8220;their&#8221; and ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">A few weeks ago, I was writing an email when I caught myself mixing up &#8220;their&#8221; and &#8220;there&#8221;. Not only that, but I&#8217;d also misspelled two other words and left one sentence incomplete.</p>
<p style="text-align:justify;">Well, this is it, I thought. I&#8217;ve finally hit the wall. Burned out. Peaked.</p>
<p style="text-align:justify;">This past week, a college friend and I reminisced about our school days: working hard, playing hard, going out every night, and still finding a way to pass our finals. &#8220;We were so smart back then,&#8221; she sighed. And so energetic. I went home that evening and crawled into bed by eleven, the new default bedtime for my elderly, depreciating self.</p>
<p style="text-align:justify;"><a href="#workimg"><img class="alignright size-medium wp-image-1181" style="margin:5px 10px;" title="workgraph" src="http://freshisback.wordpress.com/files/2009/02/workgraph.jpg?w=300" alt="workgraph" width="210" height="186" /></a>So, yes&#8230; two years out of college, at the ripe old age of 23, I am now officially over the hill. In the parabolic chronology of life, I&#8217;ve already surpassed the tangent point, the point of no return. Just a few years ago, I was juggling five classes, two extracurriculars, a term-time job, and an active social life. Now, I have one job, no classes, and a schedule interspersed with lengthy midday naps. Gone are the days when I could forgo the spell check and formulate coherent sentences on the first try. I can&#8217;t quite remember the quadratic formula and I definitely don&#8217;t know how to graph parabolas anymore. All I know is that I&#8217;ve passed the peak. Pretty soon I&#8217;ll be forgetting my own name and calling people &#8220;loosers&#8221;.</p>
<p style="text-align:justify;">Sadly, we all must go the way of old geezers a la John Madden. (A gem from last night&#8217;s Super Bowl: &#8220;If you can become a head coach at any age, you can coach when you&#8217;re young.&#8221; Thanks, John.) A friend recently sent me an email about &#8220;<a href="http://www.urbandictionary.com/define.php?term=Kitchenheimer%27s&#38;defid=3563693">Kitchenheimer&#8217;s</a>&#8220;, the phenomenon &#8220;when you&#8217;re in the kitchen going around in circles because you can&#8217;t remember what you were doing there.&#8221; In the email, he wrote, &#8220;I bet this happens to you all the time.&#8221;</p>
<p style="text-align:justify;">It does. In my defense, I&#8217;ll pull an anti-Benjamin Button and blame it on accelerated aging. But for everyone else, I hope you fare better than me. Here&#8217;s a roadmap to what the future holds from a work perspective, as you traverse across the x-axis through the parabola of your long and storied career. <a name="workimg"></a></p>
<p style="text-align:center;"><strong><img class="aligncenter size-full wp-image-1182" style="margin-top:5px;margin-bottom:5px;" title="workgraph1" src="http://freshisback.wordpress.com/files/2009/02/workgraph1.jpg" alt="workgraph1" width="500" height="443" /> </strong></p>
<p><span style="color:#ffffff;">.</span></p>
<p><strong>(1) Hustlin&#8217;: </strong>Young, eager, energetic, and bright&#8230; full of vitality, ambition, and grandiose ideas.</p>
<p style="padding-left:30px;text-align:justify;"><em>You are still in this phase if you can do any of the following: </em></p>
<blockquote>
<ul>
<li>Make it through a week of work without drinking coffee</li>
<li>Get really excited about networking, company dinners, and conversations about &#8220;synergy&#8221;</li>
<li>Need less than 6 hours of sleep to function</li>
<li>Start a foundation to save polar bears in your free time</li>
</ul>
</blockquote>
<p style="text-align:justify;"><strong>(2) Peaking: </strong>Slowing down, spacing out, and taking more bathroom breaks&#8230; The only hope is to hover around the top before the rapid freefall.</p>
<p style="padding-left:30px;text-align:justify;"><em>You may be peaking if you do any of the following:</em></p>
<blockquote>
<ul>
<li>Consider work with a combination of bemusement and utter apathy</li>
<li>Spend at least 15% of your time at work on fantasy football/eBay/Perez Hilton</li>
<li>Take more than 20 seconds to remember the work you did yesterday</li>
</ul>
</blockquote>
<p style="text-align:justify;"><strong>(3) All Downhill From Here: </strong>Lethargy, complacency, and embracing monotony&#8230; Work has become as exciting as pressing a button every 108 minutes. <a href="http://freshisback.com/2008/09/12/love-nuggets-et-al/">Boop</a>.</p>
<p style="text-align:justify;padding-left:30px;"><em>You may be on your way to sloth-ville if you do any of the following:</em></p>
<blockquote>
<ul>
<li>Volunteer to be laid off even though no one asked you</li>
<li>Think daily about pulling a Milton from Office Space</li>
<li>Derive your greatest joy by stealing something from the office every day</li>
</ul>
</blockquote>
<p style="text-align:justify;">Now, this same graph can be applied to other aspects of life as well: for example, that loving feeling. Just like productivity, acuity, and energy, our loving aptitude should decline as we age. Then again, with technology these days, a trip to the pharmacy can extend the hustler stage and keep you at your peak for much longer&#8230; (pun intended).</p>
<p style="text-align:justify;">So, will there ever be such a development for our work lives as well? Can I come back from futility and rid myself of spell check dependence once again? Will the Type-A ambition return? Will quadratics be superseded by cubics? (If you get the last reference, then be assured that you are definitely still hustlin&#8217;.)</p>
<p style="text-align:justify;">I&#8217;m hoping yes. Forget about Kitchenheimer&#8217;s&#8230; If John Madden can make it work, then I should at least be able to save some polar bears before it all goes downhill for good.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Derive Quadratic Formula]]></title>
<link>http://trevorpythag.co.uk/2009/01/28/derive-quadratic-formula/</link>
<pubDate>Wed, 28 Jan 2009 17:44:51 +0000</pubDate>
<dc:creator>David Woodford</dc:creator>
<guid>http://trevorpythag.co.uk/2009/01/28/derive-quadratic-formula/</guid>
<description><![CDATA[If you want an explanation on using the formula go to the quadratic formula post (with a downloadabl]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:left;">If you want an explanation on using the formula go to the <a title="quadratic formula and c++ program" href="http://trevorpythag.wordpress.com/2008/02/24/quadratic-formula/">quadratic formula post (with a downloadable solver)</a></p>
<p style="text-align:left;">
<p style="text-align:left;">The quadratic formula,<br />
<img class="size-full wp-image-27 aligncenter" title="Quadratic Formula" src="http://trevorpythag.wordpress.com/files/2008/02/qdrtc2.gif" alt="x=-b +/- sqrt(b*b - 4ac)/2a" width="234" height="164" /></p>
<p>for the general equation ax<sup>2</sup>+bx+c=0</p>
<p style="text-align:left;">can be derived using the method of &#8220;completing the square&#8221; as follows.<br />
starting with</p>
<p style="text-align:center;">ax<sup>2</sup>+bx+c=0</p>
<p style="text-align:left;">divide through by a</p>
<p style="text-align:center;">x<sup>2</sup>+bx/a+c/a=0</p>
<p style="text-align:left;">take the c part to the other side</p>
<p style="text-align:center;">x<sup>2</sup>+bx/a=-c/a</p>
<p style="text-align:left;">In order to complete the square we need to add half the coefficient of x (that&#8217;s b/2a) squared to both sides so we get</p>
<p style="text-align:center;">x<sup>2</sup>+bx/a + b<sup>2</sup>/4a<sup>2</sup>=-c/a +b<sup>2</sup>/4a<sup>2</sup></p>
<p style="text-align:left;">Now we can factorise the left into a squared bracket (you can check this by multiplying it back out)</p>
<p style="text-align:center;">(x + b/2a)<sup>2</sup>=-c/a +b<sup>2</sup>/4a<sup>2</sup></p>
<p style="text-align:left;">So if we square root both sides and take b/2a to the other side we have x on its own</p>
<p style="text-align:center;">x = -b/2a ±√(-c/a +b<sup>2</sup>/4a<sup>2</sup>)</p>
<p style="text-align:left;">Now to get this in the more traditional form we can take out 1/2a (Which means each term in the root is timesed by 4a<sup>2</sup>) from the square root to put the whole thing over 2a</p>
<p style="text-align:center;"><strong>x = (-b ±√(b<sup>2</sup>-4ac))/2a</strong></p>
<p style="text-align:center;">
<p style="text-align:left;">David Woodford</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[The Full (Pro) version is finally out.]]></title>
<link>http://quanlam.wordpress.com/2008/12/16/the-full-pro-version-is-finally-out/</link>
<pubDate>Tue, 16 Dec 2008 20:02:11 +0000</pubDate>
<dc:creator>quanlam</dc:creator>
<guid>http://quanlam.wordpress.com/2008/12/16/the-full-pro-version-is-finally-out/</guid>
<description><![CDATA[It has been nearly a week since I uploaded it to the App Store until it&#8217;s available. But it]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>It has been nearly a week since I uploaded it to the App Store until it&#8217;s available. But it&#8217;s ready for sell finally!</p>
<div id="attachment_38" class="wp-caption aligncenter" style="width: 67px"><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=299800231&#38;mt=8"><img class="size-full wp-image-38" title="icon" src="http://quanlam.wordpress.com/files/2008/12/icon.png" alt="SciCal Pro 1.0" width="57" height="57" /></a><p class="wp-caption-text">SciCal Pro 1.0</p></div>
<p>This is something you can do with the Full version:</p>
<div id="attachment_15" class="wp-caption aligncenter" style="width: 330px"><img class="size-full wp-image-15" title="screenshot-20081213-224726" src="http://quanlam.wordpress.com/files/2008/12/screenshot-20081213-224726.png" alt="Solving quadratic equation." width="320" height="480" /><p class="wp-caption-text">Solving quadratic equation.</p></div>
<p>- Solving quadratic equation:</p>
<p>All you have to do is enter the three coefficient a,b and c and you it will solve any quadratic equation you can think of. You can also use it to factor any quadratic expression. Just use this formula here: ax^2 + bx + c = (x &#8211; x1)(x &#8211; x2). (x1 and x2 is 2 solutions of the equation)</p>
<div id="attachment_17" class="wp-caption aligncenter" style="width: 330px"><img class="size-full wp-image-17" title="screenshot-20081213-224749" src="http://quanlam.wordpress.com/files/2008/12/screenshot-20081213-224749.png" alt="Solving system of linear equations." width="320" height="480" /><p class="wp-caption-text">Solving system of linear equations.</p></div>
<p>Solving system of linear equations.</p>
<p>With this feature you can also find the intercept point of any 2 lines in an 2d plane.</p>
<p>I&#8217;m trying to add another feature which can solve system of  equations of three variables.</p>
<p>a1*x+b1*y+c1*z = d1</p>
<p>a2*x+b2*y+c2*z = d2</p>
<p>a3*x+b3*y+c3*z = d3</p>
<p>It will be available soon!</p>
<div id="attachment_40" class="wp-caption aligncenter" style="width: 330px"><img class="size-full wp-image-40" title="shot5" src="http://quanlam.wordpress.com/files/2008/12/shot5.jpg" alt="Integral Screenshot" width="320" height="480" /><p class="wp-caption-text">Integral Screenshot</p></div>
<p>Yes! It can find the value of any kind of definite integral! (Caution: this is the approximate  value!)</p>
<p>Beware that the more complicated the expression is, the more time it takes. Sometime the application may crash if the device has low memory. All you have to do is restart the application. (or the iPhone/iPod Touch in worst case)</p>
<p>But this is useful enough to check the answer of your integration!</p>
<p>In the near future it can do something like this:</p>
<div id="attachment_41" class="wp-caption aligncenter" style="width: 507px"><img class="size-full wp-image-41" title="picture-4" src="http://quanlam.wordpress.com/files/2008/12/picture-4.png" alt="Example" width="497" height="332" /><p class="wp-caption-text">Example</p></div>
<p>I&#8217;m working on it. (The application in the example is not mine)</p>
<p>Please let me know if the application has any this part that disappoint you <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Linking Excel to Fortran - 2]]></title>
<link>http://newtonexcelbach.wordpress.com/2008/12/04/linking-excel-to-fortran-2/</link>
<pubDate>Wed, 03 Dec 2008 23:49:20 +0000</pubDate>
<dc:creator>dougaj4</dc:creator>
<guid>http://newtonexcelbach.wordpress.com/2008/12/04/linking-excel-to-fortran-2/</guid>
<description><![CDATA[In this post the procedures described for C++ here will be replicated for Fortran: The spreadsheet, ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>In this post the procedures described for C++ <a title="Linking Excel to C - 2" href="http://newtonexcelbach.wordpress.com/2008/09/03/linking-excel-to-c-2/">here</a> will be replicated for Fortran:</p>
<p>The spreadsheet, fortran source code, and compiled dll described in this code may be downloaded from <a title="Right click to download" href="http://www.interactiveds.com.au/software/Cubic.zip">Cubic.zip</a></p>
<p>As always, it is better to use the downloaded code, rather than copying from the post, because the WordPress software changes quotes (&#8220;&#8221;) and several other characters, so that code copied and pasted from the post will often not run without editing.</p>
<p>This post describes:</p>
<li>Transferring arrays between VBA and Fortran.</li>
<li>Writing and compiling a simple Fortran function to solve quadratic equations, and linking to it from Excel.</li>
<li>Compiling a Fortran function to solve cubic equations, and linking from Excel. </li>
<p>The Fortran code for the quadratic function (QUADA) is shown below:</p>
<p><code><br />
F_stdcall FUNCTION QUADA(qdat, ResA, NumRows)<br />
IMPLICIT NONE</code></p>
<p>INTEGER, intent(in) :: NumRows<br />
REAL(2), intent(in) :: qdat(NumRows, 3)<br />
REAL(2), intent(out) :: ResA(NumRows,2)</p>
<p>REAL(2) :: QUADA<br />
REAL(2) :: P, DIS</p>
<p>INTEGER I</p>
<p>DO I=1, NumRows</p>
<p>IF (qdat(I,1).NE.0.D+0) THEN</p>
<p>! quadratic problem<br />
P=5.D-1*qdat(I,2)/qdat(I,1)<br />
DIS=P**2-qdat(I,3)/qdat(I,1)<br />
IF (DIS.GE.0.D+0) THEN<br />
! two real solutions!<br />
ResA(I,1)=-P-SQRT(DIS)<br />
Resa(I,2)=-P+SQRT(DIS)<br />
QUADA=2<br />
ELSE<br />
! no real solution!<br />
QUADA=0<br />
END IF</p>
<p>ELSE IF (qdat(I,2).NE.0.D+0) THEN</p>
<p>! linear equation<br />
ResA(I,1)=-qdat(I,3)/qdat(I,2)<br />
QUADA=1</p>
<p>ELSE<br />
! no equation<br />
QUADA=0<br />
END IF<br />
END DO</p>
<p>RETURN<br />
END FUNCTION QUADA</p>
<p>Note that:</p>
<ul>
<li>The function is preceded with &#8220;F_stdcall&#8221;</li>
<li>The function parameters: qdat, ResA, and NumRows are declared as either intent(in) or intent(out); intent(inout) is also allowed.</li>
<li>The arrays qdat and ResA are dynamic, and will be sized at run time to the size specified in NumRows</li>
<li>Paramaters that are specified as double in VBA are REAL(2) in Fortran</li>
<li>Parameters specified as Long in VBA are Integers in Fortran</li>
<li>It is essential to ensure that both the data types and the sizes of arrays in the VBA and Fortran routines match.</li>
</ul>
<p>The fortran routine is compiled as a dll as before, and may then be called from a VBA routine.  The dll has been named cubic.dll, since it contains both the quadratic and cubic functions:</p>
<p><code><br />
Declare Function QUADA Lib "D:\Users\...\Cubic\Release\Win32\Cubic.dll" (qdat As Double, ResA As Double, NumRows As Long) As Double</code></p>
<p>Function FQuada(QuadData As Variant) As Variant<br />
Dim xa() As Double<br />
Dim A As Double, b As Double, c As Double<br />
Dim ResA() As Double, NumRows As Long<br />
Dim Retn As Double, i As Long, j As Long<br />
On Error Resume Next</p>
<p>QuadData = QuadData.Value2<br />
NumRows = UBound(QuadData) &#8211; LBound(QuadData) + 1</p>
<p>ReDim xa(1 To NumRows, 1 To 3)<br />
ReDim ResA(1 To NumRows, 1 To 2)<br />
For i = 1 To NumRows<br />
For j = 1 To 3<br />
xa(i, j) = QuadData(i, j)<br />
Next j<br />
Next i<br />
Retn = QUADA(xa(1, 1), ResA(1, 1), NumRows)</p>
<p>FQuada = ResA</p>
<p>End Function</p>
<p>As for C++ dlls, array parameters are passed by reference by entering the first member of the array. Unlike C++, in Fortran the array members are named in the same way as VBA; i.e. ArrayName(Row No, Column No).</p>
<p>A screen shot showing the output of the quadratic function is shown below:</p>
<div id="attachment_488" class="wp-caption aligncenter" style="width: 478px"><a href="http://newtonexcelbach.wordpress.com/files/2008/12/quad.jpg"><img class="size-full wp-image-488" title="quad" src="http://newtonexcelbach.wordpress.com/files/2008/12/quad.jpg" alt="Output from QuadA" width="468" height="273" /></a><p class="wp-caption-text">Output from QuadA</p></div>
<p>Fortran code for two Cubic functions, and the resulting dll, are included in the download files.  The code to call these functions from VBA is shown below:<br />
Declare Function CUBIC Lib &#8220;D:\Users\&#8230;\Cubic\Release\Win32\Cubic.dll&#8221; (cdat As Double, ResA As Double) As Double<br />
Declare Function CUBICA Lib &#8220;D:\Users\..,\Cubic\Release\Win32\Cubic.dll&#8221; (cdat As Double, ResA As Double, NumRows As Long) As Double</p>
<p>Function FCUBIC(P As Variant) As Variant<br />
Dim P1(1 To 4) As Double, Res(1 To 1, 1 To 3) As Double<br />
Dim cval As Double, i As Long</p>
<p>P = P.Value</p>
<p>For i = 1 To 4<br />
P1(i) = P(1, i)<br />
Next i</p>
<p>cval = CUBIC(P1(1), Res(1, 1))</p>
<p>FCUBIC = Res</p>
<p>End Function</p>
<p>Function FCubica(CubicData As Variant) As Variant<br />
Dim xa(1 To 4) As Double<br />
Dim ResA1() As Double, ResA(1 To 1, 1 To 3) As Double, NumRows As Long<br />
Dim Retn As Double, i As Long, j As Long<br />
On Error Resume Next</p>
<p>CubicData = CubicData.Value2<br />
NumRows = UBound(CubicData) &#8211; LBound(CubicData) + 1</p>
<p>ReDim ResA1(1 To NumRows, 1 To 3)<br />
For i = 1 To NumRows<br />
For j = 1 To 4<br />
xa(j) = CubicData(i, j)<br />
Next j<br />
Retn = CUBIC(xa(1), ResA(1, 1))<br />
For j = 1 To 3<br />
ResA1(i, j) = ResA(1, j)<br />
Next j<br />
Next i</p>
<p>FCubica = ResA1</p>
<p>End Function</p>
<p>Function FCubica2(CubicData As Variant) As Variant<br />
Dim xa() As Double<br />
Dim ResA() As Double, NumRows As Long<br />
Dim Retn As Long, i As Long, j As Long<br />
On Error Resume Next</p>
<p>CubicData = CubicData.Value2<br />
NumRows = UBound(CubicData) &#8211; LBound(CubicData) + 1<br />
ReDim xa(1 To NumRows, 1 To 4)<br />
ReDim ResA(1 To NumRows, 1 To 3)<br />
For i = 1 To NumRows<br />
For j = 1 To 4<br />
xa(i, j) = CubicData(i, j)<br />
Next j<br />
Next i<br />
Retn = CUBICA(xa(1, 1), ResA(1, 1), NumRows)</p>
<p>FCubica2 = ResA</p>
<p>End Function</p>
<p>The code includes one function that operates on one equation at a time, and two alternative array functions that provide much better performance by avoiding the transfer of data between the spreadsheet and VBA. For comparison VBA cubic functions are also included in the download file.</p>
<p>Screenshot of cubic function output and relative performance results:</p>
<p><a href="http://newtonexcelbach.wordpress.com/files/2008/12/cubic.jpg"><img class="aligncenter size-full wp-image-491" title="cubic" src="http://newtonexcelbach.wordpress.com/files/2008/12/cubic.jpg" alt="cubic" width="468" height="187" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Q&amp;Q - Vertex Form]]></title>
<link>http://sumidiot.wordpress.com/2008/11/17/qq-vertex-form/</link>
<pubDate>Mon, 17 Nov 2008 22:14:01 +0000</pubDate>
<dc:creator>sumidiot</dc:creator>
<guid>http://sumidiot.wordpress.com/2008/11/17/qq-vertex-form/</guid>
<description><![CDATA[Following up yesterday&#8217;s post, I&#8217;ve spent some time with factoring quartics as the compo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Following up <a href="http://sumidiot.wordpress.com/2008/11/16/quadrics-and-quadratics/">yesterday&#8217;s post</a>, I&#8217;ve spent some time with factoring quartics as the composition of two quadratics, and looking at the quadratics in vertex form to get a better graphical understanding of the problem. Also, yesterday I mentioned the apparent dis-symmetry in the freedom allowed when choosing <img src='http://l.wordpress.com/latex.php?latex=a_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a_2' title='a_2' class='latex' /> as one of the free parameters, versus choosing <img src='http://l.wordpress.com/latex.php?latex=a_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a_1' title='a_1' class='latex' />. I realized that came from the assumption that the leading coefficient for the quartic was positive, and probably has no further bearing on the problem.</p>
<p>So, let&#8217;s get back to it, as simple as possible. Our overall goal is to write <img src='http://l.wordpress.com/latex.php?latex=f%3Dx%5E4%2Bbx%5E3%2Bcx%5E2%2Bdx&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f=x^4+bx^3+cx^2+dx' title='f=x^4+bx^3+cx^2+dx' class='latex' /> as the composition <img src='http://l.wordpress.com/latex.php?latex=p_1%5Ccirc+p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_1\circ p_2' title='p_1\circ p_2' class='latex' /> where <img src='http://l.wordpress.com/latex.php?latex=p_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_1' title='p_1' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_2' title='p_2' class='latex' /> are quadratics. Since we now know we have enough freedom in choosing some of the coefficients, without losing any power, let&#8217;s go ahead and assume that both <img src='http://l.wordpress.com/latex.php?latex=p_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_1' title='p_1' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_2' title='p_2' class='latex' /> are monic. I think quadratics are easier to visualize in vertex form, so write <img src='http://l.wordpress.com/latex.php?latex=p_i%3D%28x-h_i%29%5E2%2Bk_i&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_i=(x-h_i)^2+k_i' title='p_i=(x-h_i)^2+k_i' class='latex' />, <img src='http://l.wordpress.com/latex.php?latex=i%3D1%2C2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='i=1,2' title='i=1,2' class='latex' /> (so the vertex for <img src='http://l.wordpress.com/latex.php?latex=p_i&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_i' title='p_i' class='latex' /> is at <img src='http://l.wordpress.com/latex.php?latex=%28h_i%2Ck_i%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(h_i,k_i)' title='(h_i,k_i)' class='latex' />).</p>
<p>Since we&#8217;re also allowed to freely choose the constant term for <img src='http://l.wordpress.com/latex.php?latex=p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_2' title='p_2' class='latex' />, let&#8217;s choose it to be 0. This has several wonderful implications. The constant term for <img src='http://l.wordpress.com/latex.php?latex=p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_2' title='p_2' class='latex' /> is <img src='http://l.wordpress.com/latex.php?latex=h_2%5E2%2Bk_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='h_2^2+k_2' title='h_2^2+k_2' class='latex' />, so if this is 0, we can set <img src='http://l.wordpress.com/latex.php?latex=k_2%3D-h_2%5E2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k_2=-h_2^2' title='k_2=-h_2^2' class='latex' /> to eliminate a parameter. Now that the constant term for <img src='http://l.wordpress.com/latex.php?latex=p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_2' title='p_2' class='latex' /> is 0, and since we&#8217;re assuming the constant term for the composite is also 0, we see that the constant term for <img src='http://l.wordpress.com/latex.php?latex=p_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_1' title='p_1' class='latex' /> is also 0. Thus, <img src='http://l.wordpress.com/latex.php?latex=k_1%3D-h_1%5E2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k_1=-h_1^2' title='k_1=-h_1^2' class='latex' />, and we have written <img src='http://l.wordpress.com/latex.php?latex=p_i%3D%28x-h_i%29%5E2-h_i%5E2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_i=(x-h_i)^2-h_i^2' title='p_i=(x-h_i)^2-h_i^2' class='latex' />. This means the vertices for the two parabolas lie on the parabola <img src='http://l.wordpress.com/latex.php?latex=y%3D-x%5E2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y=-x^2' title='y=-x^2' class='latex' />, which is somehow visually appealing. We can picture two parabolas opening up with vertices travelling around on <img src='http://l.wordpress.com/latex.php?latex=y%3D-x%5E2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y=-x^2' title='y=-x^2' class='latex' />, and make a nice movie of corresponding quartic compositions. Perhaps I&#8217;ll see what I can rig up in Maple, or something.</p>
<p>With these formulas for <img src='http://l.wordpress.com/latex.php?latex=p_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_1' title='p_1' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_2' title='p_2' class='latex' />, some things are quickly apparent. It&#8217;s comforting to check that the relation <img src='http://l.wordpress.com/latex.php?latex=8d%3D4bc-b%5E3&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='8d=4bc-b^3' title='8d=4bc-b^3' class='latex' /> (from yesterday) is satisfied by the coefficients of the composite <img src='http://l.wordpress.com/latex.php?latex=p_1%5Ccirc+p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_1\circ p_2' title='p_1\circ p_2' class='latex' /> (here, <img src='http://l.wordpress.com/latex.php?latex=b%2Cc%2Cd&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='b,c,d' title='b,c,d' class='latex' /> are the coefficients of <img src='http://l.wordpress.com/latex.php?latex=x%5E3%2Cx%5E2%2Cx&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x^3,x^2,x' title='x^3,x^2,x' class='latex' /> in the composite). Next, notice that</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%28p_1%5Ccirc+p_2%29%28x%2Bh_2%29%3D%28%28x%2Bh_2-h_2%29%5E2-h_2%5E2-h_1%29%5E2-h_1%5E2%3D%28x%5E2-%28h_2%5E2%2Bh_1%29%29%5E2-h_1%5E2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(p_1\circ p_2)(x+h_2)=((x+h_2-h_2)^2-h_2^2-h_1)^2-h_1^2=(x^2-(h_2^2+h_1))^2-h_1^2' title='(p_1\circ p_2)(x+h_2)=((x+h_2-h_2)^2-h_2^2-h_1)^2-h_1^2=(x^2-(h_2^2+h_1))^2-h_1^2' class='latex' /></p>
<p>which is an even function (symmetric about the <img src='http://l.wordpress.com/latex.php?latex=y&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y' title='y' class='latex' />-axis). Since <img src='http://l.wordpress.com/latex.php?latex=g%28x%2Bh_2%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g(x+h_2)' title='g(x+h_2)' class='latex' /> is just a horizontal shift of <img src='http://l.wordpress.com/latex.php?latex=g%28x%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='g(x)' title='g(x)' class='latex' /> (shifting left <img src='http://l.wordpress.com/latex.php?latex=h_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='h_2' title='h_2' class='latex' /> units), this means that <img src='http://l.wordpress.com/latex.php?latex=p_1%5Ccirc+p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_1\circ p_2' title='p_1\circ p_2' class='latex' /> is symmetric around <img src='http://l.wordpress.com/latex.php?latex=x%3Dh_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x=h_2' title='x=h_2' class='latex' />. Unless I&#8217;ve got some implications wrong somewhere, I&#8217;m pretty sure what we&#8217;ve just shown is that a quartic can be written as the composite of two quadratics precisely when it is symmetric around a vertical axis. But I&#8217;d like to double check that statement (or let you).</p>
<p>Suppose you had a fixed quartic <img src='http://l.wordpress.com/latex.php?latex=f%3Dx%5E4%2Bbx%5E3%2Bcx%5E2%2Bdx&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f=x^4+bx^3+cx^2+dx' title='f=x^4+bx^3+cx^2+dx' class='latex' /> (with <img src='http://l.wordpress.com/latex.php?latex=8d%3D4bc-b%5E3&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='8d=4bc-b^3' title='8d=4bc-b^3' class='latex' />) and wanted to identify the <img src='http://l.wordpress.com/latex.php?latex=h_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='h_1' title='h_1' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=h_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='h_2' title='h_2' class='latex' /> for the quadratics that we&#8217;re talking about. It&#8217;s easy to do, with the work from yesterday. Yesterday, we said that the linear coefficient of <img src='http://l.wordpress.com/latex.php?latex=p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_2' title='p_2' class='latex' /> was equal to <img src='http://l.wordpress.com/latex.php?latex=b%2F2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='b/2' title='b/2' class='latex' />. Thus, <img src='http://l.wordpress.com/latex.php?latex=-2h_2%3Db%2F2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='-2h_2=b/2' title='-2h_2=b/2' class='latex' />, so <img src='http://l.wordpress.com/latex.php?latex=h_2%3D-b%2F4&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='h_2=-b/4' title='h_2=-b/4' class='latex' />. We also found that the linear coefficient of <img src='http://l.wordpress.com/latex.php?latex=p_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_1' title='p_1' class='latex' /> would be <img src='http://l.wordpress.com/latex.php?latex=c-b%5E2%2F4&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c-b^2/4' title='c-b^2/4' class='latex' /> . So <img src='http://l.wordpress.com/latex.php?latex=-2h_1%3Dc-b%5E2%2F4&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='-2h_1=c-b^2/4' title='-2h_1=c-b^2/4' class='latex' />, so <img src='http://l.wordpress.com/latex.php?latex=h_1%3D%5Cfrac%7Bb%5E2%7D%7B8%7D-%5Cfrac%7Bc%7D%7B2%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='h_1=\frac{b^2}{8}-\frac{c}{2}' title='h_1=\frac{b^2}{8}-\frac{c}{2}' class='latex' />, which is <img src='http://l.wordpress.com/latex.php?latex=-d%2Fb&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='-d/b' title='-d/b' class='latex' /> if <img src='http://l.wordpress.com/latex.php?latex=b%5Cneq+0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='b\neq 0' title='b\neq 0' class='latex' />. Anyway, the point is that the vertices for the quadratics can be easily picked out from the coefficients of the quartic you started with.</p>
<p>Finally, a nice thing about the constant terms being 0 for these two quadratics is that then <img src='http://l.wordpress.com/latex.php?latex=p_i%3Dx%5E2-2h_ix%3Dx%28x-2h_i%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_i=x^2-2h_ix=x(x-2h_i)' title='p_i=x^2-2h_ix=x(x-2h_i)' class='latex' />, so one of the roots is 0, and the other is <img src='http://l.wordpress.com/latex.php?latex=h_i&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='h_i' title='h_i' class='latex' />. So the composite, <img src='http://l.wordpress.com/latex.php?latex=p_1%5Ccirc+p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_1\circ p_2' title='p_1\circ p_2' class='latex' /> will be 0 when <img src='http://l.wordpress.com/latex.php?latex=p_2%3D0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_2=0' title='p_2=0' class='latex' /> (so <img src='http://l.wordpress.com/latex.php?latex=x%3Dh_2%5Cpm+h_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x=h_2\pm h_2' title='x=h_2\pm h_2' class='latex' />) or when <img src='http://l.wordpress.com/latex.php?latex=p_2%3D2h_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_2=2h_1' title='p_2=2h_1' class='latex' /> (so <img src='http://l.wordpress.com/latex.php?latex=x%3Dh_2%5Cpm+%5Csqrt%7Bh_2%5E2%2B2h_1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x=h_2\pm \sqrt{h_2^2+2h_1}' title='x=h_2\pm \sqrt{h_2^2+2h_1}' class='latex' />). It&#8217;s also not hard to find the zeros for the first and second derivatives for <img src='http://l.wordpress.com/latex.php?latex=p_1%5Ccirc+p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_1\circ p_2' title='p_1\circ p_2' class='latex' />. The first derivative is 0 at <img src='http://l.wordpress.com/latex.php?latex=h_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='h_2' title='h_2' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=h_2%5Cpm+%5Csqrt%7Bh_2%5E2%2Bh_1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='h_2\pm \sqrt{h_2^2+h_1}' title='h_2\pm \sqrt{h_2^2+h_1}' class='latex' />, and the second derivative is 0 at <img src='http://l.wordpress.com/latex.php?latex=h_2%5Cpm+%5Csqrt%7B%28h_2%5E2%2Bh_1%29%2F3%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='h_2\pm \sqrt{(h_2^2+h_1)/3}' title='h_2\pm \sqrt{(h_2^2+h_1)/3}' class='latex' />. Of course, not all of these values in square roots need be positive, but whatever. The symmetry around <img src='http://l.wordpress.com/latex.php?latex=x%3Dh_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x=h_2' title='x=h_2' class='latex' /> is readily apparent.</p>
<p>So, I&#8217;m feeling good about factoring quartics as quadratics. I&#8217;ve got no real questions remaining, personally. If you do, please let me know. What&#8217;s next? Well, there&#8217;s no point trying to factor a quintic as a composite, because 5 is prime, so the next logical choice would be a sixth degree polynomial as a quadratic and a cubic. As fun as that sounds, I may leave it to somebody else. I&#8217;ve got another project in mind in relation to polynomials, but you&#8217;ll just have to come back and find out about that later.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Quadrics and Quadratics]]></title>
<link>http://sumidiot.wordpress.com/2008/11/16/quadrics-and-quadratics/</link>
<pubDate>Sun, 16 Nov 2008 21:46:02 +0000</pubDate>
<dc:creator>sumidiot</dc:creator>
<guid>http://sumidiot.wordpress.com/2008/11/16/quadrics-and-quadratics/</guid>
<description><![CDATA[I recently wrote up a piece about factoring a given quartic polynomial as the composition of quadrat]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I recently wrote up a piece about factoring a given quartic polynomial as the composition of quadratics on <a href="http://sumidiot.blogspot.com/2008/11/quartics-and-quadratics.html">my blogger page</a>. I&#8217;ve been playing with it some more, and can now say things slightly better. On that page, though, I noted that we can assume that the quartic we start with is monic, with constant term 0, so I continue to assume that. I won&#8217;t go through much of the &#8216;proof&#8217; of what follows, at it is covered on that blogger page.</p>
<p><strong>Prop:</strong> A quartic polynomial <img src='http://l.wordpress.com/latex.php?latex=f%3Dx%5E4%2Bbx%5E3%2Bcx%5E2%2Bd&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f=x^4+bx^3+cx^2+d' title='f=x^4+bx^3+cx^2+d' class='latex' /> can be factored as the composition <img src='http://l.wordpress.com/latex.php?latex=p_1%5Ccirc+p_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_1\circ p_2' title='p_1\circ p_2' class='latex' /> of two quadratics iff <img src='http://l.wordpress.com/latex.php?latex=8d%3D4bc-b%5E3&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='8d=4bc-b^3' title='8d=4bc-b^3' class='latex' />. Moreover, when this relation on the coefficients is satisfied, there are a two-parameter family of solutions for a factorization.</p>
<p>Suppose the relation is satisfied, and define</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brcl%7D+p_1+%26%2338%3B%3D%26%2338%3B+%5Cfrac%7B1%7D%7Ba_2%5E2%7Dx%5E2+%2B%5Cfrac%7B1%7D%7Ba_2%5E2%7D%28a_2%28c-b%5E2%2F4%29-2c_2%29x+%2B%28%5Cfrac%7Bc_2%5E2%7D%7Ba_2%5E2%7D-%5Cfrac%7Bc_2%7D%7Ba_2%7D%28c-b%5E2%2F4%29%29+%5C%5C+p_2+%26%2338%3B%3D%26%2338%3B+a_2x%5E2%2B%5Cfrac%7Bba_2%7D%7B2%7Dx%2Bc_2%5Cend%7Barray%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\begin{array}{rcl} p_1 &amp;=&amp; \frac{1}{a_2^2}x^2 +\frac{1}{a_2^2}(a_2(c-b^2/4)-2c_2)x +(\frac{c_2^2}{a_2^2}-\frac{c_2}{a_2}(c-b^2/4)) \\ p_2 &amp;=&amp; a_2x^2+\frac{ba_2}{2}x+c_2\end{array}' title='\begin{array}{rcl} p_1 &amp;=&amp; \frac{1}{a_2^2}x^2 +\frac{1}{a_2^2}(a_2(c-b^2/4)-2c_2)x +(\frac{c_2^2}{a_2^2}-\frac{c_2}{a_2}(c-b^2/4)) \\ p_2 &amp;=&amp; a_2x^2+\frac{ba_2}{2}x+c_2\end{array}' class='latex' /></p>
<p style="text-align:left;">The notation comes from assuming <img src='http://l.wordpress.com/latex.php?latex=p_i%3Da_ix%5E2%2Bb_ix%2Bc_i&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p_i=a_ix^2+b_ix+c_i' title='p_i=a_ix^2+b_ix+c_i' class='latex' />, <img src='http://l.wordpress.com/latex.php?latex=i%3D1%2C2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='i=1,2' title='i=1,2' class='latex' />. In the above, we have let <img src='http://l.wordpress.com/latex.php?latex=a_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a_2' title='a_2' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=c_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c_2' title='c_2' class='latex' /> be free parameters. One could, alternatively, use <img src='http://l.wordpress.com/latex.php?latex=a_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a_1' title='a_1' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=c_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='c_2' title='c_2' class='latex' /> as the free parameters, obtaining polynomials</p>
<p style="text-align:center;"><img src='http://l.wordpress.com/latex.php?latex=%5Cbegin%7Barray%7D%7Brcl%7Dp_1+%26%2338%3B%3D%26%2338%3B+a_1x%5E2%2B%28%5Csqrt%7Ba_1%7D%28c-b%5E2%2F4%29-2a_1c_2%29x%2B%28a_1c_2%5E2-c_2%5Csqrt%7Ba_1%7D%28c-b%5E2%2F4%29%29+%5C%5C+p_2+%26%2338%3B%3D%26%2338%3B+%5Cfrac%7B1%7D%7B%5Csqrt%7Ba_1%7D%7Dx%5E2%2B%5Cfrac%7Bb%7D%7B2%5Csqrt%7Ba_1%7D%7Dx%2Bc_2+%5Cend%7Barray%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\begin{array}{rcl}p_1 &amp;=&amp; a_1x^2+(\sqrt{a_1}(c-b^2/4)-2a_1c_2)x+(a_1c_2^2-c_2\sqrt{a_1}(c-b^2/4)) \\ p_2 &amp;=&amp; \frac{1}{\sqrt{a_1}}x^2+\frac{b}{2\sqrt{a_1}}x+c_2 \end{array}' title='\begin{array}{rcl}p_1 &amp;=&amp; a_1x^2+(\sqrt{a_1}(c-b^2/4)-2a_1c_2)x+(a_1c_2^2-c_2\sqrt{a_1}(c-b^2/4)) \\ p_2 &amp;=&amp; \frac{1}{\sqrt{a_1}}x^2+\frac{b}{2\sqrt{a_1}}x+c_2 \end{array}' class='latex' /></p>
<p style="text-align:left;">Clearly this requires <img src='http://l.wordpress.com/latex.php?latex=a_1%26%2362%3B0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a_1&gt;0' title='a_1&gt;0' class='latex' />. It&#8217;s easy enough to check that the two pairs of polynomials compose to give the original quartic.</p>
<p style="text-align:left;">It seems like there should be something to say about the fact that the free parameter <img src='http://l.wordpress.com/latex.php?latex=a_1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a_1' title='a_1' class='latex' /> is more restricted (positive) than if we had chosed <img src='http://l.wordpress.com/latex.php?latex=a_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a_2' title='a_2' class='latex' /> as the free parameter (it just has to be non-zero). Sadly, I don&#8217;t know what should be said.</p>
<p style="text-align:left;">I&#8217;ll probably continue playing with this a little. I like thinking about quadratics coming from vertex form, <img src='http://l.wordpress.com/latex.php?latex=y%3Da%28x-h%29%5E2%2Bk&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y=a(x-h)^2+k' title='y=a(x-h)^2+k' class='latex' />, as opposed to the standard form, used above. It&#8217;s easier to see where the quadratic is, for me, in vertex form. So I&#8217;d like to get a better visual understanding of the factorization, if I can. I smell simplifying assumption and Maple animations.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[錯在哪裡系列：切於一點]]></title>
<link>http://johnmayhk.wordpress.com/2008/11/14/what-is-wrong-touch-at-a-point/</link>
<pubDate>Fri, 14 Nov 2008 04:25:27 +0000</pubDate>
<dc:creator>johnmayhk</dc:creator>
<guid>http://johnmayhk.wordpress.com/2008/11/14/what-is-wrong-touch-at-a-point/</guid>
<description><![CDATA[在下每年幾乎都要教四個課程，同工一定了解，到時到侯就是測驗「旺季」，同時段出三四份卷，批改五六份卷，常有之；案桌堆積的功課作業，是欠學生的迷債；如果授課員是有家室之人（像我），時間很可能是不由自主（以]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>在下每年幾乎都要教四個課程，同工一定了解，到時到侯就是測驗「旺季」，同時段出三四份卷<!--more-->，批改五六份卷，常有之；案桌堆積的功課作業，是欠學生的迷債；如果授課員是有家室之人（像我），時間很可能是不由自主（以致工作計劃告吹又告吹），只能嘆一聲「人在江湖」。</p>
<p>入正題，以下是改卷時看到的。</p>
<p>這是一道中四數學題：</p>
<p>If the graph of <img src='http://l.wordpress.com/latex.php?latex=2x+%2B+3y+%3D+k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='2x + 3y = k' title='2x + 3y = k' class='latex' /> touches the graph of <img src='http://l.wordpress.com/latex.php?latex=y+%3D+-x%5E2+%2B+2x+%2B+k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y = -x^2 + 2x + k' title='y = -x^2 + 2x + k' class='latex' /> at one point, evaluate <img src='http://l.wordpress.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k' title='k' class='latex' />.</p>
<p>答案是 <img src='http://l.wordpress.com/latex.php?latex=k+%3D+-%5Cfrac%7B8%7D%7B3%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k = -\frac{8}{3}' title='k = -\frac{8}{3}' class='latex' />。技巧不過是代入法或消去法云云，再考慮判別式等於零諸如此類。</p>
<p>但部分同學給出以下做法：</p>
<p>把 <img src='http://l.wordpress.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k' title='k' class='latex' /> 寫成 subject，從而消去 <img src='http://l.wordpress.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k' title='k' class='latex' />，即</p>
<p><img src='http://l.wordpress.com/latex.php?latex=2x+%2B+3y+%3D+y+%2B+x%5E2+-+2x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='2x + 3y = y + x^2 - 2x' title='2x + 3y = y + x^2 - 2x' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%5CRightarrow+x%5E2+-+4x+-+2y+%3D+0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Rightarrow x^2 - 4x - 2y = 0' title='\Rightarrow x^2 - 4x - 2y = 0' class='latex' /> &#8211; - &#8211; - &#8211; - (*)</p>
<p>之後，他們用</p>
<p><img src='http://l.wordpress.com/latex.php?latex=%5CDelta+%3D+0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Delta = 0' title='\Delta = 0' class='latex' />，得</p>
<p><img src='http://l.wordpress.com/latex.php?latex=%28-4%29%5E2+-+4%281%29%28-2y%29+%3D+0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(-4)^2 - 4(1)(-2y) = 0' title='(-4)^2 - 4(1)(-2y) = 0' class='latex' /><br />
<img src='http://l.wordpress.com/latex.php?latex=%5CRightarrow+y+%3D+-2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\Rightarrow y = -2' title='\Rightarrow y = -2' class='latex' /></p>
<p>代入 (*)，得 <img src='http://l.wordpress.com/latex.php?latex=x+%3D+2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x = 2' title='x = 2' class='latex' />，從而得出</p>
<p><img src='http://l.wordpress.com/latex.php?latex=k+%3D+2%282%29+%2B+3%28-2%29+%3D+-2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='k = 2(2) + 3(-2) = -2' title='k = 2(2) + 3(-2) = -2' class='latex' /> 這個錯誤答案。</p>
<p><font color="red"><b>習題</b></font><br />
試評論上述做法之不妥之處。</p>
<p>其實要感謝學生，他們讓授課員知道還有教什麼。</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
