<?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>RocketScientists.ca Blog</title>
	<atom:link href="http://rocketscientists.ca/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://rocketscientists.ca/blog</link>
	<description>A blog about various high-tech topics, including science, technology, math, computer programming, the Internet, as well as the occasional general interest post.</description>
	<lastBuildDate>Sat, 21 May 2011 19:18:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Top 5 Numerical Tools for Science and Engineering Students</title>
		<link>http://rocketscientists.ca/blog/top-5-numerical-tools-for-science-and-engineering-students</link>
		<comments>http://rocketscientists.ca/blog/top-5-numerical-tools-for-science-and-engineering-students#comments</comments>
		<pubDate>Wed, 31 Mar 2010 11:30:59 +0000</pubDate>
		<dc:creator>dbinner52</dc:creator>
				<category><![CDATA[Math and Computer Science]]></category>
		<category><![CDATA[algebra]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[cubic]]></category>
		<category><![CDATA[discrete]]></category>
		<category><![CDATA[discrete math]]></category>
		<category><![CDATA[discrete mathematics]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[least-squares]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[numerical]]></category>
		<category><![CDATA[numerical math]]></category>
		<category><![CDATA[numerical mathematics]]></category>
		<category><![CDATA[polynomial]]></category>
		<category><![CDATA[quadratic]]></category>
		<category><![CDATA[quartic]]></category>
		<category><![CDATA[root-finding]]></category>
		<category><![CDATA[spline]]></category>

		<guid isPermaLink="false">http://rocketscientists.ca/blog/?p=17</guid>
		<description><![CDATA[Students attending college or university in a discipline heavy in the physical sciences, for example, science or engineering, frequently make use of several specific numerical routines. Five of the most popular numerical routines (in fact, I believe they are the most popular) are examined below. These types of routines probably cover 90% of the routines [...]]]></description>
			<content:encoded><![CDATA[<p>Students attending college or university in a discipline heavy in the physical sciences, for example, science or engineering, frequently make use of several specific numerical routines. Five of the most popular numerical routines (in fact, I believe they are <em>the</em> most popular) are examined below. These <em>types</em> of routines probably cover 90% of the routines a student will use during a typical undergraduate degree. In addition to their popularity among science and engineering programs, these numerical routines are also encountered in many other curriculums. For example, students in first year university who take an Algebra course to satisfy a breadth requirement might need a Simultaneous Equations Solver <em>occasionally</em>&#8211;while they are taking the course. Another student might need to apply a Linear Least Squares fit&#8211;once, for a specific assignment–when taking an Accounting class. If the students then continue on in their planned majors, say, Political Science or English, they do  not use such tools again.</p>
<p>The five routines examined below are presented in response to the following hypothetical question: Which five numerical routines fill most&#8211;if not all&#8211;of the needs of undergraduate university students? The answer given below presents the most common types of numerical tasks and some of their applications. In addition, several good-quality free tools are named that offer solutions to these types of problems; they provide most of the functionality required by undergraduate students, allowing them to avoid&#8211;or at least delay&#8211;the expense of purchasing commercial software.</p>
<p>1) <strong>Root-finding</strong></p>
<p>Root-finding covers the class of problem in which the zero(s) of an equation cannot be found explicitly.</p>
<p>Consider the Quadratic Equation:</p>
<p><strong>a</strong> x² + <strong>b</strong> x + <strong>c</strong> = 0</p>
<p><strong>a</strong>, <strong>b</strong>, and <strong>c</strong> are constants, and values of x that satisfy the equation, called the <em>roots</em> or<em> zeros</em>, must be found.</p>
<p>The Quadratic Equation is one example of the class of the problem of finding the roots of polynomial equations which is, in turn, part of the larger class of problem of root-finding. In fact, because the Quadratic Equation is so well-known (students are often introduced to the Quadratic Equation and its solution in Grade 10), root-finding is probably <em>the</em> best-known class of numerical routine.</p>
<p>The <em>van der Waals </em>Equation is another example of a polynomial equation for which roots are often sought:</p>
<p> pV³   n(RT + bp)V² + n² aV   n³ ab = 0</p>
<p>In this case, values of V that satisfy the equation are sought, and the polynomial is a cubic (the highest power of V is 3). <em>van der Waals </em>Equation is often encountered in chemistry, thermodynamics, and gasdynamics applications.</p>
<p>Kepler’s Equation of Elliptical Motion is another equation to which root-finding techniques are applied:</p>
<p>E &#8211; <em>e</em> sin(E) = M</p>
<p>In this example, the equation is not a polynomial, but it involves a transcendental function. <em>e</em> and M are known quantities, but there is no way to isolate E on one side of the equation and solve for it explicitly. Consequently, numerical techniques have to be employed. Rearranging the equation as follows turns the problem into one of finding the roots of the equation:</p>
<p>E &#8211; <em>e</em> sin(E) &#8211; M = 0</p>
<p>These examples are just three equations whose solution requires root-finding; <em>many</em> more equations arise whose solutions can be found only by employing root-finding techniques. Fortunately, the problem of root-finding is a well-developed field of mathematics and computer science. Almost all root-finding algorithms take an iterative approach to computing a solution to a desired degree of accuracy: first, an initial guess is made and checked, then a closer solution is estimated and checked, and this process is repeated until the user-specified level of accuracy is obtained. For example, a user might require four decimal places of accuracy in the solution, so the computer program would stop iterating for a solution once an approximation has been found to four decimal places.</p>
<p>2) <strong>Simultaneous Equations</strong></p>
<p>This class of numerical task deals with solving N Equations in N Unknowns. For example, a situation may arise in which it can be mathematically described as a linear (the highest power of x present is 1) system of Three Equations in Three Unknowns:</p>
<p>a11 x1  + a12 x2  + a13 x3  = b1<br />
a21 x1  + a22 x2  + a23 x3  = b2<br />
a31 x1  + a32 x2  + a33 x3  = b3</p>
<p> <br />
The a<sub>ii</sub> and b<sub>i</sub> values are known but the values of x<sub>i</sub> that satisfy this system of equations must be computed. This task could be accomplished with a pencil, paper, and hand calculator, but it would be tedious. And as systems get larger, the number of computations involved grows fast, introducing the risk of typos or other errors. A system of, say, 10 Equations in 10 Unknowns would keep a person busy for quite a while!</p>
<p>Fortunately, computer programs have been developed that can compute solutions to these systems quickly and accurately. They are usually put in matrix notation:</p>
<p>[<strong>A</strong>](<strong>x</strong>) = (<strong>b</strong>)</p>
<p>where [<strong>A</strong>] is a square matrix and (<strong>x</strong>) and (<strong>b</strong>) are column vectors. In the case of the three-by-three system,</p>
<p>            a11     a12     a13<br />
[<strong>A</strong>]     =     a21     a22     a23<br />
            a31     a32     a33</p>
<p>            x1<br />
(<strong>x</strong>)     =     x2<br />
            x3</p>
<p>            b1<br />
(<strong>b</strong>)     =     b2<br />
            b3<br />
            <br />
These sorts of systems can arise from almost any field of study. In a course on Linear Algebra such systems will be faced all the time. These systems also arise in electric circuit analysis (i.e. &#8211; Mesh Current Analysis), industrial chemistry projects, structural analysis, economics studies, and more. In addition to solving the system for the x values, quantities of the [<strong>A</strong>] matrix itself are often computed to reveal informative properties (for example, its determinant, eigenvalues, and LU Decomposition).</p>
<p>3) <strong>Linear Least-Squares Data Fitting</strong></p>
<p>Linear Least-Squares data fitting is often applied to describe data which includes errors. For example, a curve might be sought for data, but the data may be such that the expected curve does not satisfactorily pass through all the data points. For situations like this, a systematic method is required to produce an approximating function that describes the relationship defined by the data. The approximating function can then be used to<em> interpolate </em>data between the known data points (or to <em>extrapolate</em> outside the range of the known points). Linear least squares data fitting is one tool available for such situations.</p>
<p>Applications for this class of numerical task arise in almost any field: economics, physics, politics, engineering, chemistry, environmental studies, and many more. For example, say a researcher has collected population data for a country over the past fifty years and would like to define an equation that effectively describes the population growth so that future growth can be extrapolated. Instead of simply looking at the data, and creating a “guesstimate” for an equation&#8211;a technique that would vary from one researcher to the next&#8211;a systematic and effective way of examining the data is offered by Linear Least- Squares Data Fitting; it offers a systematic approach for determining trends.</p>
<p>4)<strong> Interpolation</strong></p>
<p>Interpolation is often used when drawing smooth curves through data, usually data that does <em>not</em> include errors, and provides a systematic technique for computing data values between the known data points (or outside the range of the known data points). For example, a researcher might have (x, y) data points for the following x-values: 1, 2, 3, 4, 5. However, the researcher might need a y-value that corresponds to an x-value of 2.5 or 6.4. The researcher would have to<em> interpolate </em>for the y-value at x = 2.5 (which is within the range of known data values) and <em>extrapolate</em> for the y-value at x = 6.4 (which is outside the range of known data values). Furthermore, the acquisition of the data may require sophisticated equipment that is hard to access, or the data may be very expensive to compute. In these sorts of situations, a systematic method of computing these interpolating data points is required.</p>
<p>Several algorithms exist for this purpose; one such algorithm is a Cubic Spline Interpolation. A Cubic Spline Interpolation creates a smooth curve through known data values by using piecewise third-degree polynomials that pass through all the data values. However, it should be noted that different versions of this algorithm exist, for example, a <em>natural</em> cubic spline interpolation has the second derivatives of the spline polynomial set to zero at the endpoints of the interpolation interval. This means that a graph of the spline outside the known data range is a straight line. Another version of the algorithm forces a “not-a-knot” condition: the second and second-last points are treated as interpolation points rather than knots (i.e. &#8211; the interpolating cubics on the first and second sub-intervals are identical, and so are the ones for the last and second last sub-intervals). Applications for spline interpolation include population data gathered over many years, cyclical sales information, and the contour of the shape of an automobile body.</p>
<p>5) <strong>Eigenvalues and eigenvectors</strong></p>
<p>λ is an eigenvalue (a scalar) of the Matrix [<strong>A</strong>] if there is a non zero vector (<strong>v</strong>) such that the following relationship is satisfied:</p>
<p>[<strong>A</strong>](<strong>v</strong>) = λ (<strong>v</strong>)</p>
<p>Every vector (<strong>v</strong>) satisfying this equation is called an eigenvector of [<strong>A</strong>] belonging to the eigenvalue λ.</p>
<p>Consider an example, a 3 X 3 Matrix:</p>
<p>            a11   a12   a13<br />
[<strong>A</strong>]  =   a21   a22   a23<br />
            a31   a32   a33<br />
 <br />
Each eigenvector would take the form</p>
<p>              v1<br />
(<strong>v</strong>)   =    v2<br />
              v3<br />
             <br />
Eigenproblems arise in almost all fields of science: structural analysis,  computing the modes of vibration of a beam, aeroelasticity and flutter, system stability (structure, aircraft, satellites, etc.), heat transfer, biological systems, population growth, sociology, economics, and statistics. Eigenvalues and eigenvectors are also often used in conjunction with the solution of differential equations. Furthermore, the algorithm behind the Google search engine is also said to treat indexing as an eigenproblem.</p>
<p><strong>Summary</strong></p>
<p>Root-finding, solving Simultaneous Equations, Linear Least-Squares Data-fitting, Interpolation, and the computation of Eigenvalues and Eigenvectors are the most common types of problems faced by students in college and university. Not only are these types of numerical tasks faced by science and engineering students, they also show up throughout a variety of other programs. In addition, two more factors attest to the prevalence of these numerical problems: (i) routines for handling these types of tasks are almost always covered in texts and courses on numerical mathematics, and (ii) algorithms for these mathematical tasks are well-developed and source code for computer programs has been available for decades.</p>
<p>Considering their popularity, readily-available tools that provide solutions to these most common numerical tasks would appeal to a broad range of users. On one hand, some users might need a few routines for one-time or very infrequent use whereas, on the other hand, other users might use a program often, but only one <em>specific</em> routine. In either case, the purchase of a commercial software package is not justified and having free software available is a convenient alternative. In fact, these types of numerical math routines <em>are</em> widely available for free, in a variety of formats, offering a variety of capabilities. Several software packages have been developed for installation on a user’s computer, for example, <a href="http://www.gnu.org/software/octave/index.html">Octave</a> and <a href="http://www.scilab.org/">Scilab</a>, to name two. Others are available as Java applets. And yet more are available as immediate-for-use Javascript web pages; for example, <a href="http://www.akiti.ca/Mathfxns.html">AKiTi.ca</a> offers routines for solving many of these types of problems. The routines offered on the AKiTi.ca web site offer most, if not all, of the functionality that might be required by students in their first year of university&#8211;without having to download or install software on their computers. The availability of these various numerical routines provides people more options when selecting a tool that best fits their unique needs, especially if these tools include solutions for the most common numerical tasks. The availability of good-quality software tools for working with the most common numerical tasks offers the greatest utility to the greatest number of people.</p>
]]></content:encoded>
			<wfw:commentRss>http://rocketscientists.ca/blog/top-5-numerical-tools-for-science-and-engineering-students/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>About RocketScientists.ca</title>
		<link>http://rocketscientists.ca/blog/about-rocketscientists-ca</link>
		<comments>http://rocketscientists.ca/blog/about-rocketscientists-ca#comments</comments>
		<pubDate>Fri, 26 May 2006 04:55:10 +0000</pubDate>
		<dc:creator>dbinner52</dc:creator>
				<category><![CDATA[General Interest]]></category>
		<category><![CDATA[aerospace]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[engineer]]></category>
		<category><![CDATA[engineering]]></category>
		<category><![CDATA[rocket science]]></category>
		<category><![CDATA[rocket scientist]]></category>
		<category><![CDATA[solar system]]></category>
		<category><![CDATA[space exploration]]></category>
		<category><![CDATA[webmail]]></category>

		<guid isPermaLink="false">http://rocketscientists.ca/blog/?p=13</guid>
		<description><![CDATA[Hello, and welcome to the RocketScientists.ca Blog. I thought I would use this first post to provide a brief background of the RocketScientists.ca web site, its purpose, and some of its features. I originally started this site as a convenient one-page reference for several aerospace-related online resources; I wanted to have several of my favorite [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, and welcome to the RocketScientists.ca Blog. I thought I would use this first post to provide a brief background of the RocketScientists.ca web site, its purpose, and some of its features.</p>
<p>I originally started this site as a convenient one-page reference for several aerospace-related online resources; I wanted to have several of my favorite sites one click away, all accessible from a single page. As I discovered more good online resources, not all of them specific to the topic of aerospace, those resources got added too.</p>
<p>An RSS news feed was later added, so that visitors may get an idea of the latest news in the aerospace field. In addition to this news feed, several sites are listed just below which also offer up-to-date news related to the aerospace sciences.</p>
<p>A webmail service has also been added, which offers users the opportunity to create webmail accounts based on the rocketscientists.ca domain. For example, if your name is John Doe, you could create a webmail account that gives you the email address <a href="mailto:john.doe@rocketscientists.ca">john.doe@rocketscientists.ca</a>. If you happen to need an email address, and would like one with a high-tech theme, a rocketscientists.ca email address might tickle your fancy.</p>
<p>Finally, if you would like to contact me, please use the address posted on the “About” page off the home page.</p>
]]></content:encoded>
			<wfw:commentRss>http://rocketscientists.ca/blog/about-rocketscientists-ca/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>About</title>
		<link>http://rocketscientists.ca/blog/about</link>
		<comments>http://rocketscientists.ca/blog/about#comments</comments>
		<pubDate>Mon, 01 May 2006 20:00:39 +0000</pubDate>
		<dc:creator>dbinner52</dc:creator>
				<category><![CDATA[General Interest]]></category>

		<guid isPermaLink="false">http://rocketscientists.ca/blog/?p=6</guid>
		<description><![CDATA[Welcome to the RocketScientists.ca Blog. My name is David and I created this blog with the intention of using it to post about various topics relevant to science and high-technology. As you might guess from the theme of the RocketScientists.ca site, my interests tend to lean toward the aerospace sciences, so I plan to post [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the RocketScientists.ca Blog. My name is David and I created this blog with the intention of using it to post about various topics relevant to science and high-technology. As you might guess from the theme of the RocketScientists.ca site, my interests tend to lean toward the aerospace sciences, so I plan to post about aerospace topics. (However, I might make the occasional random post about various topics too.)</p>
]]></content:encoded>
			<wfw:commentRss>http://rocketscientists.ca/blog/about/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

