<?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>Steve's Junk &#187; 3 point</title>
	<atom:link href="http://smackaay.com/tag/3-point/feed/" rel="self" type="application/rss+xml" />
	<link>http://smackaay.com</link>
	<description>A showcase of Steven Mackaay's stuff</description>
	<lastBuildDate>Sun, 11 Mar 2012 20:11:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>3 point quadratic regression formula</title>
		<link>http://smackaay.com/2009/04/29/3-point-quadratic-regression-formula/</link>
		<comments>http://smackaay.com/2009/04/29/3-point-quadratic-regression-formula/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 22:01:05 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[3 point]]></category>
		<category><![CDATA[cubic]]></category>
		<category><![CDATA[data set]]></category>
		<category><![CDATA[freebasic]]></category>
		<category><![CDATA[in-process]]></category>
		<category><![CDATA[inverse]]></category>
		<category><![CDATA[quadratic]]></category>
		<category><![CDATA[regression]]></category>
		<category><![CDATA[Stormer]]></category>
		<category><![CDATA[viscometer]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=572</guid>
		<description><![CDATA[While developing the in-process stormer viscometer, one of my goals is to allow the end user to calibrate the device with 3 fluids of known viscosity. With a bit of help from mathematica, I&#8217;ve found the formula and for whoever wants it, it&#8217;s posted, also for my own future edification. This formula is meant to [...]]]></description>
			<content:encoded><![CDATA[<p>While developing the in-process stormer viscometer, one of my goals is to allow the end user to calibrate the device with 3 fluids of known viscosity. With a bit of help from mathematica, I&#8217;ve found the formula and for whoever wants it, it&#8217;s posted, also for my own future edification. This formula is meant to convert 3 data points of the form {X1,Y1},{X2,Y2},{X3,Y3} into a form of ax^2+bx+c=y. This is probably the fastest way to do this kind of operation on a microcontroller. Here&#8217;s an image of the formula</p>
<div id="attachment_573" class="wp-caption aligncenter" style="width: 510px"><a href="http://smackaay.com/wp-content/uploads/2009/04/formula1.png"><img src="http://smackaay.com/wp-content/uploads/2009/04/formula1-500x113.png" alt="Reverse Quadratic from data" title="Reverse Quadratic from data" width="500" height="113" class="size-medium wp-image-573" /></a><p class="wp-caption-text">Reverse Quadratic from data</p></div>
<p>also, here&#8217;s a dirty FreeBasic program using it. <a href='http://smackaay.com/wp-content/uploads/2009/04/regress-3point.bas'>regress-3point.bas</a></p>
<p>Also, for fun I decided to do a cubic version. This is in the form of 4 data points {X1,Y1},{X2,Y2},&#8230; converting to ax^3+bx^2+cx+d=y</p>
<div id="attachment_575" class="wp-caption aligncenter" style="width: 510px"><a href="http://smackaay.com/wp-content/uploads/2009/04/formula2.png"><img src="http://smackaay.com/wp-content/uploads/2009/04/formula2-500x235.png" alt="Cubic equation inverse" title="Cubic equation inverse" width="500" height="235" class="size-medium wp-image-575" /></a><p class="wp-caption-text">Cubic equation inverse</p></div>
<p>You gotta love Mathematica!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2009/04/29/3-point-quadratic-regression-formula/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

