<?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>MathStudio</title>
	<atom:link href="http://www.mathstudio.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mathstudio.net/blog</link>
	<description>The most comprehensive math app for mobile devices</description>
	<lastBuildDate>Wed, 14 Mar 2012 04:20:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MathStudio for Windows</title>
		<link>http://www.mathstudio.net/blog/2012/03/13/mathstudio-for-windows/</link>
		<comments>http://www.mathstudio.net/blog/2012/03/13/mathstudio-for-windows/#comments</comments>
		<pubDate>Tue, 13 Mar 2012 22:21:38 +0000</pubDate>
		<dc:creator>Desa</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mathstudio.net/blog/?p=429</guid>
		<description><![CDATA[MathStudio is now available for Windows!  Download the free 30-day trial and unlock the trial version for only $29.99.  MathStudio supports Windows XP and above. http://www.mathstudio.net/windows/]]></description>
			<content:encoded><![CDATA[<p><strong>MathStudio is now available for Windows!  </strong>Download the free 30-day trial and unlock the trial version for only $29.99.  MathStudio supports Windows XP and above.<br />
<a href="http://www.mathstudio.net/windows/"> http://www.mathstudio.net/windows/</a></p>
<p><img class="alignnone" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="Calculator" src="http://www.mathstudio.net/windows/images/2.jpg" alt="" width="800" height="500" /></p>
<p><img class="alignnone" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="2D Graphing" src="http://www.mathstudio.net/windows/images/3.jpg" alt="" width="800" height="500" /></p>
<p><img class="alignnone" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="3D Graphing" src="http://www.mathstudio.net/windows/images/4.jpg" alt="" width="800" height="500" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathstudio.net/blog/2012/03/13/mathstudio-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MathStudio reviewed in IEEE Spectrum</title>
		<link>http://www.mathstudio.net/blog/2012/02/02/mathstudio-reviewed-in-ieee-spectrum/</link>
		<comments>http://www.mathstudio.net/blog/2012/02/02/mathstudio-reviewed-in-ieee-spectrum/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 10:00:22 +0000</pubDate>
		<dc:creator>Desa</dc:creator>
				<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.mathstudio.net/blog/?p=434</guid>
		<description><![CDATA[MathStudio has been reviewed in the latest issues of IEEE Spectrum! http://spectrum.ieee.org/computing/software/review-mathstudio  &#8220;MathStudio is a natural for students and for engineers who occasionally need a comprehensive math program but don’t need the full horsepower and daunting complexity of Mathematica or &#8230; <a href="http://www.mathstudio.net/blog/2012/02/02/mathstudio-reviewed-in-ieee-spectrum/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>MathStudio has been reviewed in the latest issues of IEEE Spectrum!<br />
<a href="http://spectrum.ieee.org/computing/software/review-mathstudio">http://spectrum.ieee.org/computing/software/review-mathstudio </a></p>
<blockquote><p>&#8220;MathStudio is a natural for students and for engineers who occasionally need a comprehensive math program but don’t need the full horsepower and daunting complexity of Mathematica or Maple. It’s a huge leap from the usual calculator program for tablets and smartphones.&#8221;</p>
<p>&nbsp;</p>
<p><a href="http://www.mathstudio.net/blog/wp-content/uploads/2012/02/IEEE-Spectrum-cover.jpg"><img class="alignnone size-full wp-image-440" title="IEEE Spectrum" src="http://www.mathstudio.net/blog/wp-content/uploads/2012/02/IEEE-Spectrum-cover.jpg" alt="" width="400" height="533" /></a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.mathstudio.net/blog/2012/02/02/mathstudio-reviewed-in-ieee-spectrum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using LoadList and LoadMatrix on iOS</title>
		<link>http://www.mathstudio.net/blog/2012/01/19/using-loadlist-and-loadmatrix-on-ios/</link>
		<comments>http://www.mathstudio.net/blog/2012/01/19/using-loadlist-and-loadmatrix-on-ios/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 05:43:30 +0000</pubDate>
		<dc:creator>Desa</dc:creator>
				<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Matrix]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.mathstudio.net/blog/?p=402</guid>
		<description><![CDATA[LoadList and LoadMatrix are now available on iPhone and iPad!  Follow these simple steps to load list and matrix data into MathStudio. 1) Create your list as a text file.  In this example we have created a file called numbers.txt.  This &#8230; <a href="http://www.mathstudio.net/blog/2012/01/19/using-loadlist-and-loadmatrix-on-ios/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mathstudio.net/manual/LoadList">LoadList</a> and <a href="http://www.mathstudio.net/manual/LoadMatrix">LoadMatrix</a> are now available on iPhone and iPad!  Follow these simple steps to load list and matrix data into MathStudio.</p>
<p>1) Create your list as a text file.  In this example we have created a file called <strong>numbers.txt</strong>.  This file has the text <strong>1,2,3,4,5</strong>.<a href="http://www.mathstudio.net/blog/wp-content/uploads/2012/01/text-file.jpg"><img class="size-full wp-image-404" title="numbers" src="http://www.mathstudio.net/blog/wp-content/uploads/2012/01/text-file.jpg" alt="" width="522" height="344" /></a></p>
<p>2) Upload the file to MathStudio through iTunes using File Sharing.  Open iTunes and click your device on the left in the <strong>Devices</strong> section.  Click the <strong>Apps</strong> tab at the top and scroll to the bottom of iTunes to find File Sharing.<br />
<a href="http://www.mathstudio.net/blog/wp-content/uploads/2012/01/file-sharing.jpg"><img class="alignnone  wp-image-405" style="border-image: initial; border-width: 1px; border-color: #999999; border-style: solid;" title="File Sharing" src="http://www.mathstudio.net/blog/wp-content/uploads/2012/01/file-sharing.jpg" alt="" width="848" height="450" /></a></p>
<p>3) Enter <strong>LoadList(&#8220;numbers.txt&#8221;)</strong> in MathStudio to load the data from the file.<br />
<a href="http://www.mathstudio.net/blog/wp-content/uploads/2012/01/load-list.jpg"><img class="alignnone size-full wp-image-407" style="border-image: initial; border-width: 1px; border-color: #999999; border-style: solid;" title="LoadList" src="http://www.mathstudio.net/blog/wp-content/uploads/2012/01/load-list.jpg" alt="" width="400" height="99" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathstudio.net/blog/2012/01/19/using-loadlist-and-loadmatrix-on-ios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To detect or not to detect matrices</title>
		<link>http://www.mathstudio.net/blog/2012/01/06/matrices-and-lists-auto-detection/</link>
		<comments>http://www.mathstudio.net/blog/2012/01/06/matrices-and-lists-auto-detection/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 20:00:13 +0000</pubDate>
		<dc:creator>Shakey</dc:creator>
				<category><![CDATA[About MathStudio]]></category>
		<category><![CDATA[Matrix]]></category>
		<category><![CDATA[auto detect]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[list of lists]]></category>
		<category><![CDATA[lists]]></category>
		<category><![CDATA[matrices]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[MatrixDetection]]></category>
		<category><![CDATA[sub list]]></category>
		<category><![CDATA[sub matrix]]></category>

		<guid isPermaLink="false">http://www.mathstudio.net/blog/?p=65</guid>
		<description><![CDATA[MathStudio automatically interprets a list of lists as matrix when each list is of the same size.  For example, an input of a={1,2,4,9} is interpreted as a list with four objects, where for example . A matrix can be formed &#8230; <a href="http://www.mathstudio.net/blog/2012/01/06/matrices-and-lists-auto-detection/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>MathStudio automatically interprets a list of lists as matrix when each list is of the same size.  For example, an input of <code>a={1,2,4,9}</code> is interpreted as a list with four objects, where for example <img src='http://s.wordpress.com/latex.php?latex=a%283%29%20%3D%204&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a(3) = 4' title='a(3) = 4' class='latex' />.</p>
<p>A matrix can be formed by creating a list of lists, as in <code>A = {{1,2,4,9},{1,1,2,5},{3,4,5,6}}</code>.  MathStudio automatically converts this to a matrix type.</p>
<p>The reason this matters is because of operations like multiplication.  When you try to multiply two lists together, it will multiply them component wise, so <code>a*a</code> will return the list <img src='http://s.wordpress.com/latex.php?latex=%5C%7B1%2C4%2C16%2C81%5C%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\{1,4,16,81\}' title='\{1,4,16,81\}' class='latex' />, but <code>A*A</code> will return an error since A is a 3 by 4 matrix.</p>
<p>Also of interest is extracting sub-matrices and sub-lists.  For example, A(1) will return a <em>list</em> that consists of the first row of A.  To obtain a matrix type, you can use [A(1)].  Alternatively, you can use A(1,all) to get the first row as a list.</p>
<p>Sometimes, though, you want to just work with lists and not worry about MathStudio auto-detecting matrices.  This is especially worrisome when writing scripts, when the user may input a list of lists of the same size and yet the code is written to assume list formats.  In these cases the command to be used is</p>
<p style="text-align: center;"><code>Command(MatrixDetection=0)</code></p>
<p style="text-align: left;">When this line appears at the top of a cell, it tells MathStudio NOT to auto detect matrices.  This way you can be certain that sub-lists will indeed be list types and not matrix types.  See the attached screenshot for an example.</p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.mathstudio.net/blog/2012/01/06/matrices-and-lists-auto-detection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2011 Best App Ever Awards</title>
		<link>http://www.mathstudio.net/blog/2012/01/06/2011-best-app-ever-award/</link>
		<comments>http://www.mathstudio.net/blog/2012/01/06/2011-best-app-ever-award/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 01:19:38 +0000</pubDate>
		<dc:creator>Desa</dc:creator>
				<category><![CDATA[Awards]]></category>

		<guid isPermaLink="false">http://www.mathstudio.net/blog/?p=396</guid>
		<description><![CDATA[MathStudio is nominated in several categories in the 2011 Best App Ever Awards!  Click the links below to vote for MathStudio. Best Young Adults App (Android) http://bestappever.com/v/tned/2/com.PomegranateSoftware.MathStudio Best High School Student App (iPhone/iPad) http://bestappever.com/v/hsed/1/439121011 Best College Student App (iPhone/iPad) http://bestappever.com/v/cled/1/439121011]]></description>
			<content:encoded><![CDATA[<p>MathStudio is nominated in several categories in the 2011 Best App Ever Awards!  Click the links below to vote for MathStudio.</p>
<p><strong>Best Young Adults App</strong> (Android)<br />
<a href="http://bestappever.com/v/tned/2/com.PomegranateSoftware.MathStudio">http://bestappever.com/v/tned/2/com.PomegranateSoftware.MathStudio</a></p>
<p><strong>Best High School Student App</strong> (iPhone/iPad)<br />
<a href="http://bestappever.com/v/hsed/1/439121011">http://bestappever.com/v/hsed/1/439121011</a></p>
<p><strong>Best College Student App</strong> (iPhone/iPad)<br />
<a href="http://bestappever.com/v/cled/1/439121011">http://bestappever.com/v/cled/1/439121011</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathstudio.net/blog/2012/01/06/2011-best-app-ever-award/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taylor Polynomials using MathStudio</title>
		<link>http://www.mathstudio.net/blog/2012/01/04/taylor-polynomials-using-spacetime-taylor/</link>
		<comments>http://www.mathstudio.net/blog/2012/01/04/taylor-polynomials-using-spacetime-taylor/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 18:00:32 +0000</pubDate>
		<dc:creator>Shakey</dc:creator>
				<category><![CDATA[Calculus]]></category>
		<category><![CDATA[Math Content]]></category>
		<category><![CDATA[Plotting]]></category>
		<category><![CDATA[arctan]]></category>
		<category><![CDATA[atan]]></category>
		<category><![CDATA[infinite series]]></category>
		<category><![CDATA[Maclaurin]]></category>
		<category><![CDATA[Mean Value Theorem]]></category>
		<category><![CDATA[Plot]]></category>
		<category><![CDATA[Polynomial]]></category>
		<category><![CDATA[radius of convergence]]></category>
		<category><![CDATA[Scroll]]></category>
		<category><![CDATA[Series]]></category>
		<category><![CDATA[sin]]></category>
		<category><![CDATA[sine]]></category>
		<category><![CDATA[Taylor Polynomial]]></category>
		<category><![CDATA[Taylor Series]]></category>

		<guid isPermaLink="false">http://www.mathstudio.net/blog/?p=9</guid>
		<description><![CDATA[I recently demonstrated the built-in function Taylor(function, var, n, [val], [mode]), which computes the Taylor Polynomial of degree n. The idea is that a &#8220;nice&#8221; enough function can be represented exactly as an infinite series, which we say is centered at &#8230; <a href="http://www.mathstudio.net/blog/2012/01/04/taylor-polynomials-using-spacetime-taylor/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently demonstrated the built-in function Taylor(function, var, n, [val], [mode]), which computes the <a title="Taylor Polynomial" href="http://en.wikipedia.org/wiki/Taylor_polynomial">Taylor Polynomial</a> of degree n.</p>
<p>The idea is that a &#8220;nice&#8221; enough function <img src='http://s.wordpress.com/latex.php?latex=f%28x%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f(x)' title='f(x)' class='latex' /> can be represented <em>exactly</em> as an <em>infinite series,</em> which we say is centered at some point <img src='http://s.wordpress.com/latex.php?latex=a&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a' title='a' class='latex' />,  and then a truncation yields a <em>polynomial</em> that is an approximation to <img src='http://s.wordpress.com/latex.php?latex=f%28x%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f(x)' title='f(x)' class='latex' />.  The form of this series is</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20f%28x%29%20%3D%20%5Csum_%7Bk%3D0%7D%5E%5Cinfty%20%5Cfrac%7Bf%5E%7B%28k%29%7D%28a%29%7D%7Bk%21%7D%28x-a%29%5Ek&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle f(x) = \sum_{k=0}^\infty \frac{f^{(k)}(a)}{k!}(x-a)^k' title='\displaystyle f(x) = \sum_{k=0}^\infty \frac{f^{(k)}(a)}{k!}(x-a)^k' class='latex' /></p>
<p style="text-align: left;">and the Taylor Polynomial of degree <img src='http://s.wordpress.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' /> is</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20f%28x%29%20%5Capprox%20%5Csum_%7Bk%3D0%7D%5En%5Cfrac%7Bf%5E%7B%28k%29%7D%28a%29%7D%7Bk%21%7D%28x-a%29%5Ek.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle f(x) \approx \sum_{k=0}^n\frac{f^{(k)}(a)}{k!}(x-a)^k.' title='\displaystyle f(x) \approx \sum_{k=0}^n\frac{f^{(k)}(a)}{k!}(x-a)^k.' class='latex' /></p>
<p style="text-align: left;">It is of course desireable to know something about the error in this approximation, and luckily there is an analogous result to the <a title="Mean Value Theorem" href="http://en.wikipedia.org/wiki/Mean_value_theorem">Mean Value Theorem</a> which says that</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20f%28x%29%20%3D%5Csum_%7Bk%3D0%7D%5En%5Cfrac%7Bf%5E%7B%28k%29%7D%28a%29%7D%7Bk%21%7D%28x-a%29%5Ek%20%2B%20R_n%28z%29%2C&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle f(x) =\sum_{k=0}^n\frac{f^{(k)}(a)}{k!}(x-a)^k + R_n(z),' title='\displaystyle f(x) =\sum_{k=0}^n\frac{f^{(k)}(a)}{k!}(x-a)^k + R_n(z),' class='latex' /></p>
<p style="text-align: left;">where we have regained <em>equality</em> by introducing a residual term, which is given by</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20R_n%28z%29%20%3D%20%5Cfrac%7Bf%5E%7B%28n%2B1%29%7D%28z%29%7D%7B%28n%2B1%29%21%7D%20%28x-a%29%5E%7Bn%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle R_n(z) = \frac{f^{(n+1)}(z)}{(n+1)!} (x-a)^{n+1}' title='\displaystyle R_n(z) = \frac{f^{(n+1)}(z)}{(n+1)!} (x-a)^{n+1}' class='latex' /></p>
<p style="text-align: left;">where <img src='http://s.wordpress.com/latex.php?latex=z&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z' title='z' class='latex' /> is some number between <img src='http://s.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://s.wordpress.com/latex.php?latex=x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x' title='x' class='latex' /> (we say <em>between</em> these two numbers since we could have <img src='http://s.wordpress.com/latex.php?latex=a%3Cx&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a&lt;x' title='a&lt;x' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=a%3Ex&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a&gt;x' title='a&gt;x' class='latex' />).</p>
<p style="text-align: left;">In MathStudio, the Taylor Polynomial of degree 7 centered at 1 for <img src='http://s.wordpress.com/latex.php?latex=%5Csin%28x%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sin(x)' title='\sin(x)' class='latex' /> can be found by <code>Taylor(sin(x),x,7,1)</code>.  The resulting polynomial will have terms like <img src='http://s.wordpress.com/latex.php?latex=%28x-1%29%5Ek&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(x-1)^k' title='(x-1)^k' class='latex' /> with coefficients.  This is a standard way of writing the polynomial, but if you wanted the expanded form, then you can add another parameter <code>Taylor(sin(x),x,7,1,1)</code>.</p>
<p style="text-align: center;"><a href="http://www.mathstudio.net/blog/wp-content/uploads/2012/01/2.png">Plot(sin(x),Taylor(sin(x),x,7,1,0)<br />
<img class=" wp-image-423 aligncenter" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="Taylor" src="http://www.mathstudio.net/blog/wp-content/uploads/2012/01/2-239x300.png" alt="" width="239" height="300" /></a></p>
<p style="text-align: left;">One important question that should be asked is whether a Taylor polynomial or Taylor Series will converge to the function for any choice of <img src='http://s.wordpress.com/latex.php?latex=x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x' title='x' class='latex' />.  Since not all series converge, this is an important question; the answer is that the Taylor polynomial will converge to the function for all <img src='http://s.wordpress.com/latex.php?latex=x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x' title='x' class='latex' /> within the radius of convergence.  I will not delve into the topic of <a title="Radius of Convergence" href="http://en.wikipedia.org/wiki/Radius_of_convergence">radius of convergence</a> here, but as an example see the plot of the Taylor polynomial for <img src='http://s.wordpress.com/latex.php?latex=%5Ctan%5E%7B-1%7D%28x%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\tan^{-1}(x)' title='\tan^{-1}(x)' class='latex' /> below.</p>
<p style="text-align: center;"><a href="http://www.mathstudio.net/blog/wp-content/uploads/2012/01/3.png">Plot(atan(x),Taylor(asin(x),x,7,0,0))<br />
<img class=" wp-image-424  aligncenter" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="Taylor" src="http://www.mathstudio.net/blog/wp-content/uploads/2012/01/3-239x300.png" alt="" width="239" height="300" /></a></p>
<p style="text-align: left;">It seems that no matter how large we take <img src='http://s.wordpress.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' />, we only get convergence inside of the region <img src='http://s.wordpress.com/latex.php?latex=-1%20%3Cx%20%3C%201&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='-1 &lt;x &lt; 1' title='-1 &lt;x &lt; 1' class='latex' />.  There are indeed very good reasons for this, and I hope this post is enough to motivate you to read further!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathstudio.net/blog/2012/01/04/taylor-polynomials-using-spacetime-taylor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Matrix Decompositions</title>
		<link>http://www.mathstudio.net/blog/2012/01/02/matrix-decompositions/</link>
		<comments>http://www.mathstudio.net/blog/2012/01/02/matrix-decompositions/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 12:00:31 +0000</pubDate>
		<dc:creator>Shakey</dc:creator>
				<category><![CDATA[Matrix]]></category>

		<guid isPermaLink="false">http://www.mathstudio.net/blog/?p=231</guid>
		<description><![CDATA[There are many ways to decompose a matrix A into matrices whose product is also A.  The following functions are supported by MathStudio, LUDecomposition(A) is a function that computes the LU decomposition of a matrix. Cholesky(A) is a purely numerical &#8230; <a href="http://www.mathstudio.net/blog/2012/01/02/matrix-decompositions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are many ways to decompose a matrix A into matrices whose product is also A.  The following functions are supported by MathStudio,</p>
<ul>
<li>LUDecomposition(A) is a function that computes the <a title="LU Decomposition" href="http://en.wikipedia.org/wiki/LU_decomposition">LU decomposition</a> of a matrix.</li>
<li>Cholesky(A) is a purely numerical function that computes the <a title="Cholesky decomposition" href="http://en.wikipedia.org/wiki/Cholesky_decomposition">Cholesky decomposition</a> of a symmetric positive-definite matrix (uses the <a title="TNT library" href="http://math.nist.gov/tnt/overview.html">TNT library</a>).</li>
<li>QR(A) is a purely numerical function that computes the <a title="QR decomposition" href="http://en.wikipedia.org/wiki/QR_decomposition">QR decomposition</a> of a matrix (uses the TNT library).</li>
<li>SVD(A) is a purely numerical function that computes the <a title="SVD" href="http://en.wikipedia.org/wiki/Singular_value_decomposition">Singular Value decomposition</a> of a matrix (uses the TNT library).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.mathstudio.net/blog/2012/01/02/matrix-decompositions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Histogram</title>
		<link>http://www.mathstudio.net/blog/2011/12/30/histogram/</link>
		<comments>http://www.mathstudio.net/blog/2011/12/30/histogram/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 12:00:30 +0000</pubDate>
		<dc:creator>Shakey</dc:creator>
				<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://www.mathstudio.net/blog/?p=229</guid>
		<description><![CDATA[At present there are two ways to obtain a histogram.  You can type a list in a cell ListPlot([1,2,2,2,3,4,4,4,5,7], type=bar) Or to list the values and their frequencies, the first list is a list of values and the second list &#8230; <a href="http://www.mathstudio.net/blog/2011/12/30/histogram/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>At present there are two ways to obtain a histogram.  You can type a list in a cell</p>
<p><strong>ListPlot([1,2,2,2,3,4,4,4,5,7], type=bar)</strong></p>
<p>Or to list the values and their frequencies, the first list is a list of values and the second list is a list of frequencies,</p>
<p><strong>ListPlot([1,2,3,4,5,7], [1,3,1,3,1,1], type=bar)</strong></p>
<p><a href="http://www.mathstudio.net/manual/ListPlot">Click here to learn more about ListPlot on the manual. </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathstudio.net/blog/2011/12/30/histogram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bernoulli Numbers and Polynomials</title>
		<link>http://www.mathstudio.net/blog/2011/12/28/bernoulli-numbers-and-polynomial/</link>
		<comments>http://www.mathstudio.net/blog/2011/12/28/bernoulli-numbers-and-polynomial/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 20:00:29 +0000</pubDate>
		<dc:creator>Shakey</dc:creator>
				<category><![CDATA[Calculus]]></category>
		<category><![CDATA[Math Content]]></category>

		<guid isPermaLink="false">http://www.mathstudio.net/blog/?p=203</guid>
		<description><![CDATA[I first encountered the Bernoulli numbers in a combinatorics class, and they came up later in asymptotic analysis in the Euler-Maclaurin Formula.  There are also Bernoulli polynomials as well. To compute the Bernoulli number, usually denoted by in mathematics, in &#8230; <a href="http://www.mathstudio.net/blog/2011/12/28/bernoulli-numbers-and-polynomial/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I first encountered the <a title="Bernoulli Number" href="http://en.wikipedia.org/wiki/Bernoulli_number">Bernoulli numbers</a> in a combinatorics class, and they came up later in asymptotic analysis in the <a href="http://en.wikipedia.org/wiki/Euler%E2%80%93Maclaurin_formula">Euler-Maclaurin</a> Formula.  There are also <a title="Bernoulli Polynomials" href="http://en.wikipedia.org/wiki/Bernoulli_polynomials">Bernoulli polynomials</a> as well.</p>
<p>To compute the <img src='http://s.wordpress.com/latex.php?latex=n%5E%7Bth%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n^{th}' title='n^{th}' class='latex' /> Bernoulli number, usually denoted by <img src='http://s.wordpress.com/latex.php?latex=B_n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='B_n' title='B_n' class='latex' /> in mathematics, in MathStudio, use Bernoulli(n).  For example, the first Bernoulli number is given in MathStudio by <img src='http://s.wordpress.com/latex.php?latex=Bernoulli%281%29%20%3D%20-1%2F2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Bernoulli(1) = -1/2' title='Bernoulli(1) = -1/2' class='latex' />.  There is some discussion as to whether this first value should be taken to be positive or negative, and on the wikipedia page both versions are explored fully.  Personally I&#8217;ve seen the negative value used in my applications.</p>
<p>Bernoulli numbers have a rich set of applications, my favorite being Bernoulli&#8217;s formula, which is</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%5Csum_%7Bk%3D1%7D%5En%20k%5Em%20%3D%201%5Em%20%2B%202%5Em%20%2B%20%5Cldots%20n%5Em%20%3D%20%5Cfrac%7B1%7D%7Bm%2B1%7D%5Csum_%7Bk%3D0%7D%5Em%5Cbinom%7Bm%2B1%7D%7Bk%7DB_k%20n%5E%7Bm%2B1-k%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum_{k=1}^n k^m = 1^m + 2^m + \ldots n^m = \frac{1}{m+1}\sum_{k=0}^m\binom{m+1}{k}B_k n^{m+1-k}.' title='\sum_{k=1}^n k^m = 1^m + 2^m + \ldots n^m = \frac{1}{m+1}\sum_{k=0}^m\binom{m+1}{k}B_k n^{m+1-k}.' class='latex' /></p>
<p style="text-align: left;">This formula basically shows how to take the sum of powers of the first <img src='http://s.wordpress.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' /> integers and get an exact expression.  By looking at the dominant term, we see that</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%5Csum_%7Bk%3D1%7D%5En%20k%5Em%20%5Csim%20%5Cfrac%7Bk%5E%7Bm%2B1%7D%7D%7Bm%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum_{k=1}^n k^m \sim \frac{k^{m+1}}{m+1}' title='\sum_{k=1}^n k^m \sim \frac{k^{m+1}}{m+1}' class='latex' />,</p>
<p style="text-align: left;">which basically means that the dominant term is the first term, which agrees with our intuition that integrals are continuous versions of summations.</p>
<p style="text-align: left;">More generally, the Euler-Maclaurin formula governs the relationship between a sum and an integral for smooth enough functions <img src='http://s.wordpress.com/latex.php?latex=f%28x%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f(x)' title='f(x)' class='latex' />,</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D0%7D%5En%20f%28i%29%20%3D%20%5Cint_0%5En%20f%28x%29%20dx%20-%20B_1%20%28f%28n%29%2Bf%280%29%29%20&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum_{i=0}^n f(i) = \int_0^n f(x) dx - B_1 (f(n)+f(0)) ' title='\sum_{i=0}^n f(i) = \int_0^n f(x) dx - B_1 (f(n)+f(0)) ' class='latex' /></p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=%2B%20%5Csum_%7Bk%3D1%7D%5Ep%20%5Cfrac%7BB_%7B2k%7D%7D%7B%282k%29%21%7D%5Cleft%28f%5E%7B%282k-1%29%7D%28n%29%20-%20f%5E%7B%282k-1%29%7D%280%29%5Cright%29%2BR%20&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='+ \sum_{k=1}^p \frac{B_{2k}}{(2k)!}\left(f^{(2k-1)}(n) - f^{(2k-1)}(0)\right)+R ' title='+ \sum_{k=1}^p \frac{B_{2k}}{(2k)!}\left(f^{(2k-1)}(n) - f^{(2k-1)}(0)\right)+R ' class='latex' />,</p>
<p style="text-align: left;">where <img src='http://s.wordpress.com/latex.php?latex=R&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='R' title='R' class='latex' /> is a remainder term that depends on the value of <img src='http://s.wordpress.com/latex.php?latex=p&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p' title='p' class='latex' />, the order of the expansion.</p>
<p style="text-align: left;">Also of interest are Bernoulli polynomials, which are related to Bernoulli numbers.  In MathStudio, to obtain the <img src='http://s.wordpress.com/latex.php?latex=n%5E%7Bth%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='n^{th}' title='n^{th}' class='latex' /> Bernoulli polynomial in the variable <img src='http://s.wordpress.com/latex.php?latex=x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x' title='x' class='latex' />, just add an argument from before, Bernoulli(n,x).</p>
<p style="text-align: left;"><strong>Exercise 1.</strong> Give an exact expression for the sums <img src='http://s.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D1%7D%5En%20i&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum_{i=1}^n i' title='\sum_{i=1}^n i' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D1%7D%5En%20i%5E2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum_{i=1}^n i^2' title='\sum_{i=1}^n i^2' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D1%7D%5En%20i%5E3&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum_{i=1}^n i^3' title='\sum_{i=1}^n i^3' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=%5Csum_%7Bi%3D1%7D%5En%20i%5E7&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum_{i=1}^n i^7' title='\sum_{i=1}^n i^7' class='latex' />.</p>
<p style="text-align: left;"><strong>Exercise 2</strong>.  Use Exercise 1 to show that <img src='http://s.wordpress.com/latex.php?latex=%5Cleft%28%5Csum_%7Bi%3D1%7D%5En%20i%5Cright%29%5E2%20%3D%20%5Csum_%7Bi%3D1%7D%5En%20i%5E3&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\left(\sum_{i=1}^n i\right)^2 = \sum_{i=1}^n i^3' title='\left(\sum_{i=1}^n i\right)^2 = \sum_{i=1}^n i^3' class='latex' />.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathstudio.net/blog/2011/12/28/bernoulli-numbers-and-polynomial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get ASCII numerical values from strings</title>
		<link>http://www.mathstudio.net/blog/2011/12/27/how-to-get-ascii-numerical-values-from-strings/</link>
		<comments>http://www.mathstudio.net/blog/2011/12/27/how-to-get-ascii-numerical-values-from-strings/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 12:00:08 +0000</pubDate>
		<dc:creator>Shakey</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.mathstudio.net/blog/?p=194</guid>
		<description><![CDATA[The MathStudio command Char(string) will return a list of ASCII numbers corresponding to each character in the string.  For example, Char(M) = Char(MathStudio) =]]></description>
			<content:encoded><![CDATA[<p>The MathStudio command Char(string) will return a list of ASCII numbers corresponding to each character in the string.  For example,</p>
<p style="text-align: center;">Char(M) = <img src='http://s.wordpress.com/latex.php?latex=77&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='77' title='77' class='latex' /></p>
<p style="text-align: center;">Char(MathStudio) = <img src='http://s.wordpress.com/latex.php?latex=%2877%2C97%2C116%2C104%2C83%2C116%2C117%2C100%2C105%2C111%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(77,97,116,104,83,116,117,100,105,111)' title='(77,97,116,104,83,116,117,100,105,111)' class='latex' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mathstudio.net/blog/2011/12/27/how-to-get-ascii-numerical-values-from-strings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

