﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Joe Celko  / Stairway to Data, Step 2: Numerics / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 12:53:03 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Stairway to Data, Step 2: Numerics</title><link>http://www.sqlservercentral.com/Forums/Topic1108175-1604-1.aspx</link><description>Very Cool!  Next you'll be sending me the solution to Fermat's Last Theorem (without looking it up).  :)</description><pubDate>Thu, 19 May 2011 13:55:32 GMT</pubDate><dc:creator>Henry B. Stinson</dc:creator></item><item><title>RE: Stairway to Data, Step 2: Numerics</title><link>http://www.sqlservercentral.com/Forums/Topic1108175-1604-1.aspx</link><description>[quote][b]Henry B. Stinson (5/18/2011)[/b][hr]In relation to "mathematically, any number with periodical decimal development can be set as a fraction." -- I tend to disagree.  There are numbers (like sq root of 2 -- and pi) that I seriously doubt can be expressed as a sum of a rational number and a fraction.Might be interesting to try to prove that but I'm already 68 yrs old and I don't think I have enough time.Oops!  I forgot -- Pi and Sq Root of 2 do not have repeating patterns.  So what I said did not apply to the prev statement i quoted.  Pi &amp; Sq root of 2 are true irrational numbers.[/quote]To prove that (Sq root of 2) can not be set as a rational fraction is very easy :If it could be set, let a/b be that fraction (a and b being coprimes).(a/b)[sup]2[/sup] = 2 by definition.so a[sup]2[/sup] = 2 b[sup]2[/sup], what is impossible, a and b being coprimes.It is also easy to prove that any number with a periodical decimal development can be set as a fraction :1/ all cases can be brought back to 0 with the periodical pattern beginnin immediately after the colon.2/ Let x be the number p the pattern and n the number of its digits.So x = p/10[sup]n[/sup] + p/10[sup]2n[/sup] + ...This is the sum of a geometrical progression whose first term is p/10[sup]n[/sup] and ratio 1/10[sup]n[/sup].That sum is (first term) / (1 - ratio)So x = p/ (10[sup]n[/sup] - 1).QedSorry, I'm [i]only[/i] 61 ;-)</description><pubDate>Thu, 19 May 2011 01:24:09 GMT</pubDate><dc:creator>Roland C</dc:creator></item><item><title>RE: Stairway to Data, Step 2: Numerics</title><link>http://www.sqlservercentral.com/Forums/Topic1108175-1604-1.aspx</link><description>In relation to "mathematically, any number with periodical decimal development can be set as a fraction." -- I tend to disagree.  There are numbers (like sq root of 2 -- and pi) that I seriously doubt can be expressed as a sum of a rational number and a fraction.Might be interesting to try to prove that but I'm already 68 yrs old and I don't think I have enough time.Oops!  I forgot -- Pi and Sq Root of 2 do not have repeating patterns.  So what I said did not apply to the prev statement i quoted.  Pi &amp; Sq root of 2 are true irrational numbers.</description><pubDate>Wed, 18 May 2011 13:57:36 GMT</pubDate><dc:creator>Henry B. Stinson</dc:creator></item><item><title>RE: Stairway to Data, Step 2: Numerics</title><link>http://www.sqlservercentral.com/Forums/Topic1108175-1604-1.aspx</link><description>What did you mean by "v2, p"?  I figured "pi" for "p", but what is "V2"?</description><pubDate>Wed, 18 May 2011 13:54:38 GMT</pubDate><dc:creator>Henry B. Stinson</dc:creator></item><item><title>RE: Stairway to Data, Step 2: Numerics</title><link>http://www.sqlservercentral.com/Forums/Topic1108175-1604-1.aspx</link><description>[quote][b]Stephen_W_Dodd (5/18/2011)[/b][hr]I've always thought that there was some fallacy when subtracting two irrational numbers to come up with a rational number (9.99... - .99 = 9). I don't have the training to prove or disprove it; it's just a gut feeling.[/quote]They're actually rational - the digits after the decimal have a repeating pattern.  But subtracting an irrational number from another irrational number can easily end up as a rational number:  if the first irrational number was (1 + v2) and the second was v2, then subtracting the second from the first results in 1.  But subtracting two rationals from each other will always result in another rational number, since the set of rationals is closed under addition.</description><pubDate>Wed, 18 May 2011 10:49:34 GMT</pubDate><dc:creator>Aleph_0</dc:creator></item><item><title>RE: Stairway to Data, Step 2: Numerics</title><link>http://www.sqlservercentral.com/Forums/Topic1108175-1604-1.aspx</link><description>I've always thought that there was some fallacy when subtracting two irrational numbers to come up with a rational number (9.99... - .99 = 9). I don't have the training to prove or disprove it; it's just a gut feeling.</description><pubDate>Wed, 18 May 2011 09:08:51 GMT</pubDate><dc:creator>Stephen_W_Dodd</dc:creator></item><item><title>RE: Stairway to Data, Step 2: Numerics</title><link>http://www.sqlservercentral.com/Forums/Topic1108175-1604-1.aspx</link><description>Nice read, thanks.  Be useful for many a kid in maths class too!Incidentally, did you run a find and replace for many to y, or did I miss something?</description><pubDate>Wed, 18 May 2011 04:16:24 GMT</pubDate><dc:creator>RichB</dc:creator></item><item><title>RE: Stairway to Data, Step 2: Numerics</title><link>http://www.sqlservercentral.com/Forums/Topic1108175-1604-1.aspx</link><description>[quote]The mathematical notation for repeating decimals is to put a bar over the digits in the decimal fraction which form the repeating group.[i] Unlike fractions,[/i] there is no way to convert them into floating point or fixed decimal numbers without some loss.[/quote] Didn't you mean "[b]like [/b]fractions" ?. It seems to me that, mathematically, any number with periodical decimal development can be set as a fraction. For example 1.35... = 1 + 35/99.</description><pubDate>Wed, 18 May 2011 01:07:19 GMT</pubDate><dc:creator>Roland C</dc:creator></item><item><title>Stairway to Data, Step 2: Numerics</title><link>http://www.sqlservercentral.com/Forums/Topic1108175-1604-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/Stairway+Series/Numerics+and+SQL/72659/"&gt;Stairway to Data, Step 2: Numerics&lt;/A&gt;[/B]</description><pubDate>Thu, 12 May 2011 21:09:01 GMT</pubDate><dc:creator>CELKO</dc:creator></item></channel></rss>