<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Danielle's Blog</title>
	<atom:link href="http://danielletropeamth212s09.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://danielletropeamth212s09.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 20 May 2011 15:28:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='danielletropeamth212s09.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Danielle's Blog</title>
		<link>http://danielletropeamth212s09.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://danielletropeamth212s09.wordpress.com/osd.xml" title="Danielle&#039;s Blog" />
	<atom:link rel='hub' href='http://danielletropeamth212s09.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Project 5</title>
		<link>http://danielletropeamth212s09.wordpress.com/2011/05/20/project-5/</link>
		<comments>http://danielletropeamth212s09.wordpress.com/2011/05/20/project-5/#comments</comments>
		<pubDate>Fri, 20 May 2011 02:08:40 +0000</pubDate>
		<dc:creator>Danielle's Blog</dc:creator>
		
		<guid isPermaLink="false">http://danielletropeamth212s09.wordpress.com/?p=200</guid>
		<description><![CDATA[This project we were asked to observe the behavior of the solutions: where are constants. The first thing I did was open Mathimatica and listed to be  Random Integers. By doing this; every time I pressed Shift+Return I would receive a new graph with different traces and determinants. For the second part of this project [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=200&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This project we were asked to observe the behavior of the solutions:</p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac+%7Bdy%7D%7Bdx%7D%3D%5Calpha%7Bx%7D%2B%5Cbeta%7By%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac {dy}{dx}=&#92;alpha{x}+&#92;beta{y}' title='&#92;frac {dy}{dx}=&#92;alpha{x}+&#92;beta{y}' class='latex' /></p>
<p><img src='http://s0.wp.com/latex.php?latex=%5Cfrac+%7Bdy%7D%7Bdx%7D%3D%5Cgamma%7Bx%7D%2B%5Cdelta%7By%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac {dy}{dx}=&#92;gamma{x}+&#92;delta{y}' title='&#92;frac {dy}{dx}=&#92;gamma{x}+&#92;delta{y}' class='latex' /></p>
<p>where <img src='http://s0.wp.com/latex.php?latex=%5Calpha%2C+%5Cbeta%2C+%5Cgamma%2C+%5Cdelta&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;alpha, &#92;beta, &#92;gamma, &#92;delta' title='&#92;alpha, &#92;beta, &#92;gamma, &#92;delta' class='latex' /> are constants.</p>
<p>The first thing I did was open Mathimatica and listed <img src='http://s0.wp.com/latex.php?latex=a%2C+b%2C+c%2C+d&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='a, b, c, d' title='a, b, c, d' class='latex' /> to be  Random Integers. By doing this; every time I pressed Shift+Return I would receive a new graph with different traces and determinants.</p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt.jpg"><img class="alignnone size-full wp-image-201" title="project5dt" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt.jpg?w=490&#038;h=482" alt="" width="490" height="482" /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt-2-102.jpg"><img class="alignnone size-full wp-image-215" title="project5dt-2.102" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt-2-102.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt50-1006.jpg"><img class="alignnone size-full wp-image-214" title="project5dt50.1006" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt50-1006.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt47-48.jpg"><img class="alignnone size-full wp-image-213" title="project5dt47.-48" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt47-48.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt43-420.jpg"><img class="alignnone size-full wp-image-212" title="project5dt43.420" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt43-420.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt33-830.jpg"><img class="alignnone size-full wp-image-211" title="project5dt33.830" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt33-830.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt15-671.jpg"><img class="alignnone size-full wp-image-210" title="project5dt15.671" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt15-671.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt13-175.jpg"><img class="alignnone size-full wp-image-208" title="project5dt13.175" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt13-175.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt4pic.jpg"><img class="alignnone size-full wp-image-206" title="project5dt4pic" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt4pic.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt2_working2pic2.jpg"><img class="alignnone size-full wp-image-205" title="project5dt2_working(2)pic2" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt2_working2pic2.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt2.jpg"><img class="alignnone size-full wp-image-203" title="project5dt2" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt2.jpg?w=490&#038;h=482" alt="" width="490" height="482" /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt0-0.jpg"><img class="alignnone size-full wp-image-202" title="project5dt0.0" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt0-0.jpg?w=490&#038;h=485" alt="" width="490" height="485" /></a></p>
<p>For the second part of this project we had to find the values for <img src='http://s0.wp.com/latex.php?latex=%5Calpha%2C+%5Cbeta%2C+%5Cgamma%2C+%5Cdelta&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;alpha, &#92;beta, &#92;gamma, &#92;delta' title='&#92;alpha, &#92;beta, &#92;gamma, &#92;delta' class='latex' />. And graph their respective lines on the graph.</p>
<p>The first one I chose was a spiral. This does not give us any lines to graph. The answer we got was involving  <img src='http://s0.wp.com/latex.php?latex=i&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='i' title='i' class='latex' />.</p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt.jpg"><img class="alignnone size-full wp-image-201" title="project5dt" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt.jpg?w=490&#038;h=482" alt="" width="490" height="482" /></a></p>
<p>Here for this plot we found the values of <img src='http://s0.wp.com/latex.php?latex=%5Cgamma%2C+%5Cdelta&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;gamma, &#92;delta' title='&#92;gamma, &#92;delta' class='latex' /> to be:</p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt2_working2pic.jpg"><img title="project5dt2_working(2)pic" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt2_working2pic.jpg?w=490&#038;h=482" alt="" width="490" height="482" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielletropeamth212s09.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielletropeamth212s09.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielletropeamth212s09.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielletropeamth212s09.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielletropeamth212s09.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielletropeamth212s09.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielletropeamth212s09.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielletropeamth212s09.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielletropeamth212s09.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielletropeamth212s09.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielletropeamth212s09.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielletropeamth212s09.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielletropeamth212s09.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielletropeamth212s09.wordpress.com/200/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=200&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielletropeamth212s09.wordpress.com/2011/05/20/project-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e96b86505644e5ebf205a05e61082e8b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Danielle's Blog</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt.jpg" medium="image">
			<media:title type="html">project5dt</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt-2-102.jpg" medium="image">
			<media:title type="html">project5dt-2.102</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt50-1006.jpg" medium="image">
			<media:title type="html">project5dt50.1006</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt47-48.jpg" medium="image">
			<media:title type="html">project5dt47.-48</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt43-420.jpg" medium="image">
			<media:title type="html">project5dt43.420</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt33-830.jpg" medium="image">
			<media:title type="html">project5dt33.830</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt15-671.jpg" medium="image">
			<media:title type="html">project5dt15.671</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt13-175.jpg" medium="image">
			<media:title type="html">project5dt13.175</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt4pic.jpg" medium="image">
			<media:title type="html">project5dt4pic</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt2_working2pic2.jpg" medium="image">
			<media:title type="html">project5dt2_working(2)pic2</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt2.jpg" medium="image">
			<media:title type="html">project5dt2</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt0-0.jpg" medium="image">
			<media:title type="html">project5dt0.0</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt.jpg" medium="image">
			<media:title type="html">project5dt</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/project5dt2_working2pic.jpg" medium="image">
			<media:title type="html">project5dt2_working(2)pic</media:title>
		</media:content>
	</item>
		<item>
		<title>Project 4</title>
		<link>http://danielletropeamth212s09.wordpress.com/2011/05/20/project-4/</link>
		<comments>http://danielletropeamth212s09.wordpress.com/2011/05/20/project-4/#comments</comments>
		<pubDate>Fri, 20 May 2011 01:49:49 +0000</pubDate>
		<dc:creator>Danielle's Blog</dc:creator>
		
		<guid isPermaLink="false">http://danielletropeamth212s09.wordpress.com/?p=190</guid>
		<description><![CDATA[H*The right hand side of the differential equation*L F@8t_, y_&#60;D := t + y^2; H*The time step size*L deltat = 0.001; H*Defining the Euler scheme*L euler@8t_, y_&#60;D := 8t + deltat, y + deltat * F@8t, y&#60;D&#60;; H*Apply the Euler scheme successivey starting from the initial condition*L output = NestList@ euler, 80, 1&#60;, 1000D; H*Plot [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=190&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-1-individual.jpg"><img class="alignnone size-full wp-image-191" title="4.1 individual" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-1-individual.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-1-parametric.jpg"><img class="alignnone size-full wp-image-192" title="4.1 parametric" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-1-parametric.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/mathematica-4-1.jpg"><img class="alignnone size-full wp-image-198" title="Mathematica 4.1" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/mathematica-4-1.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-2-individual.jpg"><img class="alignnone size-full wp-image-193" title="4.2 individual" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-2-individual.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-2-parametric.jpg"><img class="alignnone size-full wp-image-195" title="4.2 parametric" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-2-parametric.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-2-mathematica.jpg"><img class="alignnone size-full wp-image-194" title="4.2 mathematica" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-2-mathematica.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-3-individual.jpg"><img class="alignnone size-full wp-image-196" title="4.3 individual" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-3-individual.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-3-mathematica.jpg"><img class="alignnone size-full wp-image-197" title="4.3 mathematica" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-3-mathematica.jpg?w=490" alt=""   /></a></p>
<p>H*The right<br />
hand side of the<br />
differential equation*L<br />
F@8t_, y_&lt;D := t + y^2;<br />
H*The time step size*L<br />
deltat = 0.001;<br />
H*Defining the<br />
Euler scheme*L<br />
euler@8t_, y_&lt;D :=<br />
8t + deltat,<br />
y + deltat * F@8t, y&lt;D&lt;;<br />
H*Apply the Euler scheme<br />
successivey starting from<br />
the initial condition*L<br />
output = NestList@<br />
euler, 80, 1&lt;, 1000D;<br />
H*Plot the output*L<br />
A = ListPlot@<br />
output, Joined ® True,<br />
PlotStyle ® 8Red, Thick&lt;D<br />
General::ovfl : Overflow occurred in computation. <br />
0.2 0.4 0.6 0.8<br />
2<br />
4<br />
6<br />
8<br />
10<br />
12<br />
14<br />
ClearAll@output, y, t, deltat, FD<br />
Solve::ifun :<br />
Inverse functions are being used by Solve, so some solutions may not be found; use Reduce for complete<br />
solution information. <br />
Solve::ifun :<br />
Inverse functions are being used by Solve, so some solutions may not be found; use Reduce for complete<br />
solution information. <br />
DSolve@8y¢@tD  F@t, y@tDD, y@1D  2&lt;, y@tD, tD<br />
2 Project 3 problem 1.nb<br />
ClearAll@s, tD;<br />
s = NDSolve@8y&#8217;@tD == F@8t, y@tD&lt;D,<br />
y@0D  1&lt;, y, 8t, 0, 1.0&lt;D<br />
B = Plot@Evaluate@y@tD . sD,<br />
8t, 0, 1.0&lt;, PlotRange ® All,<br />
PlotStyle -&gt; 8Black, Thick&lt;D<br />
NDSolve::ndsz :<br />
At t == 0.9305643422360891`, step size is effectively zero; singularity or stiff system suspected. <br />
88y ® InterpolatingFunction@880., 0.930564&lt;&lt;, &lt;&gt;D&lt;&lt;<br />
0.2 0.4 0.6 0.8 1.0<br />
-8´1046<br />
-6´1046<br />
-4´1046<br />
-2´1046<br />
Project 3 problem 1.nb 3<br />
Show@8A, B&lt;D<br />
0.2 0.4 0.6<br />
2<br />
4<br />
6<br />
8<br />
10<br />
12<br />
14<br />
4 Project 3 problem 1.nb</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielletropeamth212s09.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielletropeamth212s09.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielletropeamth212s09.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielletropeamth212s09.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielletropeamth212s09.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielletropeamth212s09.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielletropeamth212s09.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielletropeamth212s09.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielletropeamth212s09.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielletropeamth212s09.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielletropeamth212s09.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielletropeamth212s09.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielletropeamth212s09.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielletropeamth212s09.wordpress.com/190/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=190&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielletropeamth212s09.wordpress.com/2011/05/20/project-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e96b86505644e5ebf205a05e61082e8b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Danielle's Blog</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-1-individual.jpg" medium="image">
			<media:title type="html">4.1 individual</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-1-parametric.jpg" medium="image">
			<media:title type="html">4.1 parametric</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/mathematica-4-1.jpg" medium="image">
			<media:title type="html">Mathematica 4.1</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-2-individual.jpg" medium="image">
			<media:title type="html">4.2 individual</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-2-parametric.jpg" medium="image">
			<media:title type="html">4.2 parametric</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-2-mathematica.jpg" medium="image">
			<media:title type="html">4.2 mathematica</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-3-individual.jpg" medium="image">
			<media:title type="html">4.3 individual</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/4-3-mathematica.jpg" medium="image">
			<media:title type="html">4.3 mathematica</media:title>
		</media:content>
	</item>
		<item>
		<title>Project 2</title>
		<link>http://danielletropeamth212s09.wordpress.com/2011/05/20/project-2/</link>
		<comments>http://danielletropeamth212s09.wordpress.com/2011/05/20/project-2/#comments</comments>
		<pubDate>Fri, 20 May 2011 01:36:49 +0000</pubDate>
		<dc:creator>Danielle's Blog</dc:creator>
		
		<guid isPermaLink="false">http://danielletropeamth212s09.wordpress.com/?p=182</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=182&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob1dt.jpg"><img class="alignnone size-full wp-image-186" title="prob1dt" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob1dt.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob1-2dtb.jpg"><img class="alignnone size-full wp-image-184" title="prob1.2dtb" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob1-2dtb.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob1-2dt.jpg"><img class="alignnone size-full wp-image-183" title="prob1.2dt" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob1-2dt.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob1-2dtc.jpg"><img class="alignnone size-full wp-image-185" title="prob1.2dtc" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob1-2dtc.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob2dt.jpg"><img class="alignnone size-full wp-image-187" title="prob2dt" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob2dt.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob3dt.jpg"><img class="alignnone size-full wp-image-188" title="prob3dt" src="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob3dt.jpg?w=490" alt=""   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielletropeamth212s09.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielletropeamth212s09.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielletropeamth212s09.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielletropeamth212s09.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielletropeamth212s09.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielletropeamth212s09.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielletropeamth212s09.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielletropeamth212s09.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielletropeamth212s09.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielletropeamth212s09.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielletropeamth212s09.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielletropeamth212s09.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielletropeamth212s09.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielletropeamth212s09.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=182&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielletropeamth212s09.wordpress.com/2011/05/20/project-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e96b86505644e5ebf205a05e61082e8b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Danielle's Blog</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob1dt.jpg" medium="image">
			<media:title type="html">prob1dt</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob1-2dtb.jpg" medium="image">
			<media:title type="html">prob1.2dtb</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob1-2dt.jpg" medium="image">
			<media:title type="html">prob1.2dt</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob1-2dtc.jpg" medium="image">
			<media:title type="html">prob1.2dtc</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob2dt.jpg" medium="image">
			<media:title type="html">prob2dt</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/05/prob3dt.jpg" medium="image">
			<media:title type="html">prob3dt</media:title>
		</media:content>
	</item>
		<item>
		<title>Project 1.</title>
		<link>http://danielletropeamth212s09.wordpress.com/2011/01/31/project-1/</link>
		<comments>http://danielletropeamth212s09.wordpress.com/2011/01/31/project-1/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 16:17:46 +0000</pubDate>
		<dc:creator>Danielle's Blog</dc:creator>
		
		<guid isPermaLink="false">http://danielletropeamth212s09.wordpress.com/?p=141</guid>
		<description><![CDATA[Project 1: For this first project, our objective is to plot various Differential Equations and determine what the plot is actually telling us. This first project was just a series of trial and error along with trying to figure out how to correctly plot the Differential Equations. I worked with Thomas Morris. Question 1: a. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=141&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Project 1:</p>
<p>For this first project, our objective is to plot various Differential Equations and determine what the plot is actually telling us. This first project was just a series of trial and error along with trying to figure out how to correctly plot the Differential Equations. I worked with Thomas Morris.</p>
<p>Question 1:</p>
<p>a. <img src='http://s0.wp.com/latex.php?latex=%5Cfrac+%7Bdy%7D%7Bdx%7D%3D2x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac {dy}{dx}=2x' title='&#92;frac {dy}{dx}=2x' class='latex' /></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-1a.jpg"><img class="alignnone size-full wp-image-173" title="question1.1a" src="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-1a.jpg?w=490" alt=""   /></a></p>
<p>This first Differential Equation was not that challenging. To get the first plot, I simply put VectorPlot[{1, 2 x}, {x, 0, 1}, {y, 0, 1}] and received the first plot. I then decided to go ahead and try a different plot to see if it would give me a clearer understanding of what the Differential Equation is doing. I also added a little color to it. As you can see, this stream plot view of the Differential Equation shows a bit more.</p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-1.jpg"><img class="alignnone size-full wp-image-168" title="question1.1" src="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-1.jpg?w=490" alt=""   /></a></p>
<p>As you can see from the plot above, as <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> moves from 0.3 to 0.5 it rapidly increases the <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> value.</p>
<p>b. <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7Bdy%7D%7Bdx%7D%3D+%5Cfrac%7B2y%7D%7Bx%7D+&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac{dy}{dx}= &#92;frac{2y}{x} ' title='&#92;frac{dy}{dx}= &#92;frac{2y}{x} ' class='latex' /></p>
<p>Similarly as the previous problem, I used the StreamPlot function on Mathimatica. StreamPlot[{1,2y/x},{x,-1,1},{y,-3,3}] gave me the following plot.</p>
<p>The next problem gave us an interesting plot. at <img src='http://s0.wp.com/latex.php?latex=x%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=0' title='x=0' class='latex' /> we get a straight line as well as when <img src='http://s0.wp.com/latex.php?latex=y%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y=0' title='y=0' class='latex' />. But with any other <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> value we get a rapid curve. From <img src='http://s0.wp.com/latex.php?latex=x%3D-1&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=-1' title='x=-1' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y%3D-3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y=-3' title='y=-3' class='latex' /> the curves are somewhat minor compared to the the almost vertical lines when <img src='http://s0.wp.com/latex.php?latex=x%3D.02&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=.02' title='x=.02' class='latex' />. The same goes for the any value for both <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> greater than <img src='http://s0.wp.com/latex.php?latex=0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0' title='0' class='latex' /></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/01/question2dttm.jpg"><img class="alignnone size-full wp-image-145" title="question2dttm" src="http://danielletropeamth212s09.files.wordpress.com/2011/01/question2dttm.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-2.jpg"><img class="alignnone size-full wp-image-169" title="question1.2" src="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-2.jpg?w=490" alt=""   /></a></p>
<p>c. <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7Bdy%7D%7Bdx%7D%3D%5Cfrac%7Bx-y%7D%7Bx%2By%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac{dy}{dx}=&#92;frac{x-y}{x+y}' title='&#92;frac{dy}{dx}=&#92;frac{x-y}{x+y}' class='latex' /></p>
<p>Here we have another interesting graph. It seems we almost have a straight line diagonally through the graph where some of the curves start. Again in this graph, as <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> decreases from <img src='http://s0.wp.com/latex.php?latex=0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='0' title='0' class='latex' /> to <img src='http://s0.wp.com/latex.php?latex=-3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='-3' title='-3' class='latex' /> or increases from <img src='http://s0.wp.com/latex.php?latex=2&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='2' title='2' class='latex' /> to <img src='http://s0.wp.com/latex.php?latex=3&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='3' title='3' class='latex' /> the curves are less intense. Also at <img src='http://s0.wp.com/latex.php?latex=x%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=0' title='x=0' class='latex' />  is where some of the lines start and also it is a minimum and a maximum for others. For this plot, I also used the stream plot function;StreamPlot[{1,(x-y)/(x+y)},{x,-1,1},{y,-3,3}].</p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/01/question-1-3b.jpg"><img class="alignnone size-full wp-image-170" title="question 1.3b" src="http://danielletropeamth212s09.files.wordpress.com/2011/01/question-1-3b.jpg?w=490" alt=""   /></a></p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-3.jpg"><img class="alignnone size-full wp-image-171" title="question1.3" src="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-3.jpg?w=490" alt=""   /></a></p>
<p>d. <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7Bdy%7D%7Bdx%7D%3Dx%5E2%2B2y%5E2&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac{dy}{dx}=x^2+2y^2' title='&#92;frac{dy}{dx}=x^2+2y^2' class='latex' /></p>
<p>Here in this plot we have very strong positive curves. But again in this plot, at <img src='http://s0.wp.com/latex.php?latex=x%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=0' title='x=0' class='latex' /> is either the beginning or the end for some of the curves. Some of the curves follow <img src='http://s0.wp.com/latex.php?latex=x%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=0' title='x=0' class='latex' /> but then turn upward and change their direction at <img src='http://s0.wp.com/latex.php?latex=x%3D.5&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=.5' title='x=.5' class='latex' />.</p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-4.jpg"><img class="alignnone size-full wp-image-172" title="question1.4" src="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-4.jpg?w=490" alt=""   /></a></p>
<p>Question 2.</p>
<p>a. <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7Bdy%7D%7Bdx%7D%3D%5Cfrac%7Bcosy%7D%7Bxsiny-y%5E2%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac{dy}{dx}=&#92;frac{cosy}{xsiny-y^2}' title='&#92;frac{dy}{dx}=&#92;frac{cosy}{xsiny-y^2}' class='latex' /></p>
<p>Again, similarly as the other plots, this plot has an apparent beginning and end for some of the curves that separate the two streams. The rest of the curves bend and follow each other, all bending at the same point. This plot was kind of hard to describe.</p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/01/question2-1dttm.jpg"></a><a href="http://danielletropeamth212s09.files.wordpress.com/2011/01/question2-1dttm.jpg"><img class="alignnone size-full wp-image-143" title="question2.1dttm" src="http://danielletropeamth212s09.files.wordpress.com/2011/01/question2-1dttm.jpg?w=490" alt=""   /></a></p>
<p>b. <img src='http://s0.wp.com/latex.php?latex=%5Cfrac%7Bdy%7D%7Bdx%7D%3D+%5Cfrac%7B2xy%7D%7Bx%5E%7B2%7D%2By%5E%7B2%7D%7D&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;frac{dy}{dx}= &#92;frac{2xy}{x^{2}+y^{2}}' title='&#92;frac{dy}{dx}= &#92;frac{2xy}{x^{2}+y^{2}}' class='latex' /></p>
<p>Again, <img src='http://s0.wp.com/latex.php?latex=y%3Do&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y=o' title='y=o' class='latex' /> separates the two streams. This plot almost looks like it has the ripple effect, beginning at <img src='http://s0.wp.com/latex.php?latex=x%3D0&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x=0' title='x=0' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y%3Do&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y=o' title='y=o' class='latex' /> and for each value of <img src='http://s0.wp.com/latex.php?latex=x&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x' title='x' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=y&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='y' title='y' class='latex' /> the ripple gets weaker and weaker.</p>
<p><a href="http://danielletropeamth212s09.files.wordpress.com/2011/01/question2-2dttm.jpg"><img class="alignnone size-full wp-image-144" title="question2.2dttm" src="http://danielletropeamth212s09.files.wordpress.com/2011/01/question2-2dttm.jpg?w=490" alt=""   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielletropeamth212s09.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielletropeamth212s09.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielletropeamth212s09.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielletropeamth212s09.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielletropeamth212s09.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielletropeamth212s09.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielletropeamth212s09.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielletropeamth212s09.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielletropeamth212s09.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielletropeamth212s09.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielletropeamth212s09.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielletropeamth212s09.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielletropeamth212s09.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielletropeamth212s09.wordpress.com/141/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=141&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielletropeamth212s09.wordpress.com/2011/01/31/project-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e96b86505644e5ebf205a05e61082e8b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Danielle's Blog</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-1a.jpg" medium="image">
			<media:title type="html">question1.1a</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-1.jpg" medium="image">
			<media:title type="html">question1.1</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/01/question2dttm.jpg" medium="image">
			<media:title type="html">question2dttm</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-2.jpg" medium="image">
			<media:title type="html">question1.2</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/01/question-1-3b.jpg" medium="image">
			<media:title type="html">question 1.3b</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-3.jpg" medium="image">
			<media:title type="html">question1.3</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/01/question1-4.jpg" medium="image">
			<media:title type="html">question1.4</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/01/question2-1dttm.jpg" medium="image">
			<media:title type="html">question2.1dttm</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2011/01/question2-2dttm.jpg" medium="image">
			<media:title type="html">question2.2dttm</media:title>
		</media:content>
	</item>
		<item>
		<title>Sixth Block!!!!!!</title>
		<link>http://danielletropeamth212s09.wordpress.com/2009/05/20/sixth-block/</link>
		<comments>http://danielletropeamth212s09.wordpress.com/2009/05/20/sixth-block/#comments</comments>
		<pubDate>Wed, 20 May 2009 00:38:45 +0000</pubDate>
		<dc:creator>Danielle's Blog</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[DiffEqu]]></category>

		<guid isPermaLink="false">http://danielletropeamth212s09.wordpress.com/?p=126</guid>
		<description><![CDATA[In mathematics the Laplace Transforms is one of the best known and most widely used integral transforms. This section I used Laplace Transforms to make difficult differential equations a little easier algebraic equations to find a solution, to make the solutions easier I rearranged the algebra. The Laplace transform is an operator on the given [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=126&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-138" title="8" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/8.jpg?w=490" alt="8"   /></p>
<div class="snap_preview">
<p>In mathematics the Laplace Transforms is one of the best known and most widely used integral transforms. This section I used Laplace Transforms to make difficult differential equations a little easier algebraic equations to find a solution, to make the solutions easier I rearranged the algebra. The Laplace transform is an operator on the given functions.</p>
<p>For these,</p>
<p><strong><em>L</em>[dy/dt]=s<em>L</em>[y(t)]-y(0)</strong></p>
<p><strong><em>L</em>[dy/dt]=sY(s)-y(0)</strong></p>
<blockquote></blockquote>
<p>With Y(t) being what I am hoping for, and Y(t) being the inverse Laplace of Y(s).</p>
<p>First is #1 pg 466.</p>
<p><strong>dy/dy-y=e^3t, y(0)=2</strong></p>
<div class="snap_preview">First step is to apply the Laplace transform to all the terms.</div>
</div>
<div class="snap_preview"><strong><em>L</em>[dy/dt]-<em>L</em>[y]=<em>L</em>[e^3t]</strong><img src="/Users/Danielle/AppData/Local/Temp/moz-screenshot-5.jpg" alt="" /></div>
<div class="snap_preview">
<p><strong>sY(s)-2-Y(s)=<em>L</em>[e^3t]</strong></p>
<p>and</p>
<p><strong><em>L</em>[e^3t]=1/(s-3)</strong></p>
<p>So<strong> sY(s)-2-Y(s)=1/(s-3)</strong></p>
<p><strong>(s-1)Y(s)=(1/(s-3))+2</strong></p>
<p><strong>Y(s)=((1/s-3)+2)/(s-1)</strong></p>
<p><strong>Y(s)=3/(2(s-1))</strong></p>
<p><strong>y(t)=<em>L</em>^-1[3/(2(s-1))]</strong></p>
<p><strong>Inverse Laplace Transform [3/(2(s-1)),s,t]=3e^t/2<br />
</strong></p>
<div class="snap_preview">So, <strong>y(t)=(1/2(e^3t))+(3e^t/2)</strong></div>
<div class="snap_preview"><img class="alignnone size-full wp-image-133" title="1" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/1.jpg?w=490" alt="1"   /></div>
<p>Next is pg 466 number 2, <strong></strong></p>
<p><strong>dy/dt+y=3cost,y(0)=-1</strong></div>
<div class="snap_preview">
Essentially the same thing,</div>
<div class="snap_preview"><strong><em>L</em>[dy/dt]+<em>L</em>[y]=<em>L</em>[3cost]</strong></div>
<div class="snap_preview"><strong>sY(s)+1+Y(s)=<em>L</em>[3cost]</strong></div>
<div class="snap_preview"><strong>(s+1)Y(s)+1=3s/(1+s^2)</strong></div>
<div class="snap_preview"><strong>Y(s)=(3s)/((1+s)(1+s^2))-1/(1+s)</strong><br />
<strong>y(t)=<em>L</em>^-1<strong>(3s)/((1+s)(1+s^2))-<em>L</em>^-1</strong><strong>/(1+s)]</strong><br />
y(t)=1/2(-5E^-t+cos[t]+3sin[t])</strong></div>
<div class="snap_preview"><img class="alignnone size-full wp-image-134" title="2" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/2.jpg?w=490" alt="2"   /></div>
<div class="snap_preview">
<p>Now the Second Order…<br />
Next is applying the Laplace transform to two second order differential equations on pg 466</p>
<p>With second order, need to keep the equation,</p>
<p><strong><em>L</em>[dy/dy]=sY(s)-y(0)</strong></p>
<p>Number 1</p>
<p><strong>{d^2y}/{dt^2}+4y=0 , y(0)=2 , y’(0)=3</strong></p>
<p><strong><em>L</em>{{d^2y}/{dt^2}}=s^2<em>L</em>{y(s)}-2s-3</strong></p>
<p><strong> s^2<em>L</em>{y(s)}-2s-3+4<em>L</em>{y(s)}=0</strong></p>
<p><strong> (s^2+4)L{y(s)}=2s+3</strong></p>
<p><strong><em> L</em>{y(s)}={2s+3}/{(s^2+4)}</strong></p>
<p><strong><img class="alignnone size-full wp-image-136" title="#1" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/11.jpg?w=490" alt="#1"   /></strong></p>
<p>The final solution is : <strong>y(t)=2cos(2*t)+{3}/{2}sin(2*t)</strong><br />
giving me this graph:</p>
<p><img class="alignnone size-full wp-image-137" title="#12" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/12.jpg?w=490" alt="#12"   /></p>
<p>Number 4.</p></div>
<div class="snap_preview"><strong>d^2y/dt^2+16y=0, y(0)=8, y&#8217;(0)=0</strong></div>
<div class="snap_preview"><strong>s^2Y(s)-7s+16Y(s)=0</strong></div>
<div class="snap_preview"><strong>(s^2+16)Y(s)=7s</strong></div>
<div class="snap_preview"><strong>Y(s)=(7s)/(s^2+16)</strong></div>
<div class="snap_preview"><strong>y(t)=<em>L</em>^-1[7s/(s^2=16)]</strong></div>
<div class="snap_preview"><strong>y(t)=7cos[4t]</strong></div>
<div class="snap_preview"><img class="alignnone size-full wp-image-135" title="3" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/3.jpg?w=490" alt="3"   /></div>
<div class="snap_preview">
<p>Part the Third, Solving Linear Systems using Laplace Transforms.</p>
<p>Here we do the same thing as above, buy add in some X(s) action.</p>
<p>Number 8, page 471</p>
<p><strong>2dx/dt+dy/dt+x+5y=4t</strong></p>
<p><strong>dx/dt+dy/dt+3x+2y=2</strong></p>
<p><strong>x(0)=3,y(0)=-4</strong></p>
<div class="snap_preview">First,</div>
<div class="snap_preview"><strong>3sX(s)-6+sT(s)+4+X(s)+5Y(s)= 4/s^2</strong></div>
<div class="snap_preview"><strong>(2s+1)X(s)+(s+5)Y(s)-2=4/s^2</strong></div>
<div class="snap_preview">
And the second,</div>
<div class="snap_preview"><strong>sX(s)-3+sY(s)+4+2X(s)+2Ys)=2/s</strong></div>
<div class="snap_preview"><strong>(s+2)X(s)+(s+2)Y(s)+1=2/s</strong></div>
<div class="snap_preview">
We get,</div>
<div class="snap_preview"><strong>X(s)= [2(2+s^2)]/[3s^2(2+s)],Y(s)=-[4-6s+5s^2]/[3s^2(2+s)]</strong></p>
<p>Inverse Laplace Transform</p></div>
<div class="snap_preview"><strong>x(t)=1/3(-1+3e^-2t+2t)</strong></div>
<div class="snap_preview"><strong>y(t)=1/3(4-9-e^-2t-2t)</strong></div>
<div class="snap_preview"></div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielletropeamth212s09.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielletropeamth212s09.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielletropeamth212s09.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielletropeamth212s09.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielletropeamth212s09.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielletropeamth212s09.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielletropeamth212s09.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielletropeamth212s09.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielletropeamth212s09.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielletropeamth212s09.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielletropeamth212s09.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielletropeamth212s09.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielletropeamth212s09.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielletropeamth212s09.wordpress.com/126/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=126&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielletropeamth212s09.wordpress.com/2009/05/20/sixth-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e96b86505644e5ebf205a05e61082e8b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Danielle's Blog</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/8.jpg" medium="image">
			<media:title type="html">8</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/1.jpg" medium="image">
			<media:title type="html">1</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/2.jpg" medium="image">
			<media:title type="html">2</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/11.jpg" medium="image">
			<media:title type="html">#1</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/12.jpg" medium="image">
			<media:title type="html">#12</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/3.jpg" medium="image">
			<media:title type="html">3</media:title>
		</media:content>
	</item>
		<item>
		<title>Fifth Block!!!!!</title>
		<link>http://danielletropeamth212s09.wordpress.com/2009/05/11/fifth-block/</link>
		<comments>http://danielletropeamth212s09.wordpress.com/2009/05/11/fifth-block/#comments</comments>
		<pubDate>Mon, 11 May 2009 15:43:04 +0000</pubDate>
		<dc:creator>Danielle's Blog</dc:creator>
				<category><![CDATA[DiffEqu]]></category>

		<guid isPermaLink="false">http://danielletropeamth212s09.wordpress.com/?p=105</guid>
		<description><![CDATA[This block I will be discussing systems of Differential Equations. In real life situations quantities and their rate of change depend on more than one variable. For example, the rabbit population, though it may be represented by a single number, depends on the size of predator populations and the availability of food. In order to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=105&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This block I will be discussing systems of Differential Equations.  In real life situations quantities and their rate of change depend on more than  one variable.  For example, the rabbit population, though it may be represented  by a single number, depends on the size of predator populations and the availability  of food.  In order to represent and study such complicated problems we  need to use more than one dependent variable and more than one equation. Systems of Differential Equations are linked by more than one common variable.</p>
<p><strong>Problem 1: <em>T(x,y)=(x+y,x)</em></strong></p>
<p>This separates into two equations:</p>
<p><strong><em>dx/dt=x+Y</em></strong></p>
<p style="text-align:left;"><strong><em>dx/dt=x</em></strong></p>
<p style="text-align:left;">For this example there are two solutions which will be graphed later.</p>
<p style="text-align:left;">First I set <strong><em>(x+y,x)=(λx,λy)</em></strong></p>
<p style="text-align:left;">This simplifies out into two separate equations of</p>
<p style="text-align:left;"><strong><em>x+y=λx</em></strong> and <strong><em>x=λy</em></strong></p>
<p style="text-align:left;">In order to solve for the value/s of  <strong><em>λ</em></strong> I set the two equations equal to zero</p>
<p style="text-align:left;"><strong><em>(1-λ)x+y=0</em></strong></p>
<p style="text-align:left;"><em><strong>xλy=0</strong></em></p>
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">Then I used the equation <strong><em>ad-bc=o</em></strong> solve for <strong><em>λ</em></strong> where</p>
<p style="text-align:left;"><strong><em>a=(1-λ), b=1, c=1 </em></strong>and<strong><em> d=-λ</em></strong></p>
<p style="text-align:left;">These values are found by setting the two equations equal to<strong><em> ax+by=0</em></strong> and <strong><em>cx+dy = 0</em></strong>.</p>
<p style="text-align:left;">For this example<strong><em> λ=+.6103</em></strong> and<strong><em> λ=-.6103</em></strong></p>
<p style="text-align:left;">Finally,  for solving the system is to plug the final <strong><em>λ</em></strong> value into one of the original equations of</p>
<p style="text-align:left;"><strong><em>(1-λ)x+y=0</em></strong></p>
<p style="text-align:left;"><strong><em>x-λy=0</em></strong></p>
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">and  solve for y to get thesolutions for the equation.</p>
<p style="text-align:left;">the answers are         <strong><em>y=0.618034x</em></strong> and         <strong><em>y=-1.618034x</em></strong></p>
<p style="text-align:left;">Here is the code that I wrote to graph the solutions along with the vector field:</p>
<p>[x,y]=meshgrid(-1:1/10:1,-1:1/10:1);<br />
&gt;&gt; u=2*x+y;<br />
&gt;&gt; v=x+y;<br />
&gt;&gt; w=sqrt(u.^2+v.^2);<br />
&gt;&gt; quiver(x,y,u./w,v./w,.5,’.&#8217;)<br />
&gt;&gt; hold on<br />
&gt;&gt; f=@(x).618034*x;<br />
&gt;&gt; fplot(f,[-1,1],’r&#8217;)<br />
&gt;&gt; hold on<br />
&gt;&gt; f=@(x)-1.61803*x;<br />
&gt;&gt; fplot(f,[-1,1],’g&#8217;)<br />
&gt;&gt; hold off<br />
&gt;&gt; hold off</p>
<p>This was the final solution.</p>
<p><img class="alignnone size-full wp-image-109" title="5-comparison-11" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/5-comparison-11.jpg?w=490" alt="5-comparison-11"   /></p>
<p style="text-align:left;"><strong>Example #2</strong></p>
<p style="text-align:left;"><em><strong>dx/dt=2x+5y</strong></em></p>
<p style="text-align:left;"><strong><em>dy/dt=x-2y</em></strong></p>
<p><strong><em>λ=-0.23606 and </em></strong><strong><em> λ=4.23607<br />
</em></strong></p>
<p style="text-align:left;">
<p style="text-align:left;">Soutions:</p>
<p style="text-align:left;">Red: y= -1         Green: y=0.2</p>
<p style="text-align:left;"><img class="alignnone size-full wp-image-110" title="5-comparison-2" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/5-comparison-2.jpg?w=490" alt="5-comparison-2"   /></p>
<p style="text-align:left;">
<p><strong>Example #3</strong></p>
<p><strong>dx/dt=x+3y</strong></p>
<p><strong>dy/dt=y</strong></p>
<p><strong><em>λ-1</em></strong></p>
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p>Solution: Red: y=0</p>
<p><img class="alignnone size-full wp-image-111" title="5-comparison-3" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/5-comparison-3.jpg?w=490" alt="5-comparison-3"   /></p>
<p style="text-align:left;"><strong>Example #4</strong></p>
<p style="text-align:left;"><strong>dx/dt=2x+2y</strong></p>
<p style="text-align:left;"><strong>dy/dt=2x+y</strong></p>
<p style="text-align:left;"><strong>λ=-0.56155 and λ=3.5616<br />
</strong></p>
<p style="text-align:left;">
<p style="text-align:left;">Solutions:</p>
<p style="text-align:left;">Green: y= -1.2807x                Red: y= 0.7807x</p>
<p style="text-align:left;"><img class="alignnone size-full wp-image-112" title="5-comparison-4" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/5-comparison-4.jpg?w=490" alt="5-comparison-4"   /></p>
<p style="text-align:left;"><strong>Example #5</strong></p>
<p style="text-align:left;"><strong><em>dx/dt=-4x-3y</em></strong></p>
<p style="text-align:left;"><strong><em>dy/dt=-2x+4y</em></strong></p>
<p style="text-align:left;"><strong><em>λ=√22</em></strong></p>
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">Solution: Red: y= -2.8968x</p>
<p style="text-align:left;"><img class="alignnone size-full wp-image-113" title="5-comparison-5" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/5-comparison-5.jpg?w=490" alt="5-comparison-5"   /></p>
<p style="text-align:left;"><strong>Example #6</strong></p>
<p style="text-align:left;"><strong><em>dx/dt=2x-2y</em></strong></p>
<p style="text-align:left;"><strong><em>dy/dt=2x+y</em></strong></p>
<p style="text-align:left;"><strong><em>λ=(3+√-15)/4 and λ=(3-√-15)/4<br />
</em></strong></p>
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;"><img class="alignnone size-full wp-image-114" title="function-6-plot-no-solution-line" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/function-6-plot-no-solution-line.jpg?w=490" alt="function-6-plot-no-solution-line"   /></p>
<p style="text-align:left;">This differential equation has a non- real solution.</p>
<p style="text-align:left;">
<p><strong><em><br />
</em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielletropeamth212s09.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielletropeamth212s09.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielletropeamth212s09.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielletropeamth212s09.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielletropeamth212s09.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielletropeamth212s09.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielletropeamth212s09.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielletropeamth212s09.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielletropeamth212s09.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielletropeamth212s09.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielletropeamth212s09.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielletropeamth212s09.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielletropeamth212s09.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielletropeamth212s09.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=105&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielletropeamth212s09.wordpress.com/2009/05/11/fifth-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e96b86505644e5ebf205a05e61082e8b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Danielle's Blog</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/5-comparison-11.jpg" medium="image">
			<media:title type="html">5-comparison-11</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/5-comparison-2.jpg" medium="image">
			<media:title type="html">5-comparison-2</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/5-comparison-3.jpg" medium="image">
			<media:title type="html">5-comparison-3</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/5-comparison-4.jpg" medium="image">
			<media:title type="html">5-comparison-4</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/5-comparison-5.jpg" medium="image">
			<media:title type="html">5-comparison-5</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/function-6-plot-no-solution-line.jpg" medium="image">
			<media:title type="html">function-6-plot-no-solution-line</media:title>
		</media:content>
	</item>
		<item>
		<title>Fourth Block!!!!</title>
		<link>http://danielletropeamth212s09.wordpress.com/2009/04/23/fourth-block/</link>
		<comments>http://danielletropeamth212s09.wordpress.com/2009/04/23/fourth-block/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 02:18:27 +0000</pubDate>
		<dc:creator>Danielle's Blog</dc:creator>
				<category><![CDATA[DiffEqu]]></category>

		<guid isPermaLink="false">http://danielletropeamth212s09.wordpress.com/?p=97</guid>
		<description><![CDATA[In this fourth block, I will choose six example from the text to carry out the integrations in the variables separable method and will compare my solutions to the solutions using Mathimatica using dsolve. I will be using problems 1,2,3,10 from pages 23-25 and problems 12 and 14 from page 76 1:  4xydx+(x^2+1)dy=0 First, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=97&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this fourth block, I will choose six example from the text to carry out the integrations in the variables separable method and will compare my solutions to the solutions using Mathimatica using dsolve. I will be using problems 1,2,3,10 from pages 23-25 and problems 12 and 14 from page 76</p>
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;"><strong>1:  <em>4xydx+(x^2+1)dy=0 </em></strong></p>
<p style="text-align:center;">First, I subtracted<em> <strong>(x^2+1)dy</strong> </em>from both sides and got <em><strong>4xydx=-(x^2+1)dy</strong>.</em></p>
<p style="text-align:center;">At the same time, I divided both sides by <strong><em>y</em></strong> and <strong><em>-(x^2+1),</em></strong></p>
<p style="text-align:center;">which yields<strong><em> (4xydx)/-(x^2+1))=dy/y.</em></strong></p>
<p style="text-align:center;">Next, I integrated both sides<strong><em> ∫</em></strong><strong><em>(4xdx)/(-(x^2+1)=∫</em><em>dy/y</em></strong>.</p>
<p style="text-align:center;">After that, I used the U-Substitution method which gave me, <strong><em>-2ln|(x^2+1)| = ln |y| +C</em></strong>.</p>
<p style="text-align:center;">By raising both sides to the exponent of <strong><em>e</em></strong>, the <strong><em>ln</em></strong> functions disappear and I could then rewrite the functions in terms of <strong><em>y</em></strong>:</p>
<p style="text-align:center;"><strong><em>y=e^-2ln(x^2+1)+C</em></strong></p>
<p style="text-align:center;">By raising both sides to the exponent of <strong><em>e</em></strong>, the <strong><em>ln</em></strong> functions disappear so I could then rewrite the function in terms of <strong><em>y</em></strong>:</p>
<p style="text-align:center;"><strong><em>y=e^(-2ln(x^2+1))+C</em></strong></p>
<p style="text-align:center;">Simplifying it even further I get <em><strong>y=(1/x^2+1)</strong><strong>^2+C</strong></em><strong><em>=(1/(x^2+1)^2)+C</em></strong></p>
<p style="text-align:center;"><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p class="MsoNormal"><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p style="text-align:center;">Using dsolve, we get:</p>
<p style="text-align:center;"><strong>&gt;&gt; dsolve(’Dy = -(4*x*y)/(x^2 + 1)’,&#8217;x’)</strong></p>
<p style="text-align:center;"><strong>ans =</strong></p>
<p style="text-align:center;"><strong>C6/(x^2 + 1)^2</strong></p>
<p style="text-align:center;">
<p style="text-align:center;"><strong><br />
</strong></p>
<p style="text-align:center;"><strong><em>2: tan(x)dy+2ydx=0</em> </strong></p>
<p style="text-align:center;"><strong><em>tan(x)dy=-2ydx</em></strong> .</p>
<p style="text-align:center;"><strong><em>dy/-2t=dx/tan(x)</em><em>. </em></strong></p>
<p style="text-align:center;"><strong><em>ln|y|=-2ln|sin(x)|</em></strong></p>
<p style="text-align:center;"><strong><em>|y|=C/sin^2(x)</em></strong></p>
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">Using dsolve, we get:</p>
<p style="text-align:center;">
<p style="text-align:center;"><strong>&gt;&gt; dsolve(’Dy/y = -2*cot(x)’,&#8217;x’)</strong></p>
<p style="text-align:center;"><strong>ans =</strong></p>
<p style="text-align:center;"><strong>C12/sin(x)^2</strong></p>
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;"><strong><em>3: (e^x+1)cos(y)dy+e^x(sin(y)+1)dx=0, y(0)=3 </em></strong></p>
<p style="text-align:center;"><strong><em>(e^x+1)cos(y)dy=-e^x(sin(y)+1dx</em></strong></p>
<p style="text-align:center;"><strong><em>(cos(y)dy)/(sin(y)+1)=(-e^x)/(e^x+1)</em></strong></p>
<p style="text-align:center;"><strong><em>ln|sin(y)+1|=ln|e^x+1|-1+C</em></strong></p>
<p style="text-align:center;"><strong><em>sin(y+1)=(e^x+1)-1+C</em></strong></p>
<p style="text-align:center;"><strong><em>y+1=arcsin(1/e^x+1)+C</em></strong></p>
<p style="text-align:center;"><strong><em>y=arcsin(1/e^x+1)-1+C</em></strong></p>
<p style="text-align:center;">Next I plugged in 3 for y and 0 for x and found <strong><em>C=4-(π/6)</em></strong></p>
<p style="text-align:center;">
<p style="text-align:center;">Using DSolve in Mathematica, we get:</p>
<p style="text-align:center;"><strong>DSolve[(Exp[x]+1)*Cos[y[x]] y’[x] + Exp[x]*(Sin[y[x]]) == 0, y[x], x]</strong></p>
<p style="text-align:center;"><strong>{{y[x] -&gt; -ArcSin[E^C[1]/(1+E^x]}}</strong></p>
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;"><strong>10:<em> x(dx/dt)+t=1</em></strong></p>
<p style="text-align:center;"><strong><em>x(dx/dt)+t=1</em></strong></p>
<p style="text-align:center;"><strong><em>x(dx/dt)=1-t</em></strong></p>
<p style="text-align:center;"><strong><em>xdx=(1-t)dt</em></strong></p>
<p style="text-align:center;"><strong><em>∫xdx=∫(1-t)dt</em></strong></p>
<p style="text-align:center;"><strong><em>1/2(x^2)=t-1/2(t^2)+C</em></strong></p>
<p style="text-align:center;"><strong><em>x(t)=±√2t-t^2 +C<br />
</em></strong></p>
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">Using DSolve in Mathematica, we get:</p>
<p style="text-align:center;"><strong>DSolve[X'[T] == (1 &#8211; T)/X[T], X[T], T]</strong></p>
<p style="text-align:center;"><strong>{{X[T] -&gt; -Sqrt[2 T - T^2 + 2 C[1]]}, {X[T] -&gt; Sqrt[</strong></p>
<p style="text-align:center;"><strong> 2 T - T^2 + 2 C[1]]}}</strong></p>
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;"><em><strong>12: 2x^2y(dy/dx)+y^2=2</strong></em></p>
<p style="text-align:center;"><em><strong>2x^2y(dy/dx)=2-y^2</strong></em></p>
<p style="text-align:center;"><em><strong>x^2(dy/dx)=(2-y^2)/(2y)</strong></em></p>
<p style="text-align:center;"><em><strong>(x^2)/(dx)=(2-y^2)/(2ydy)</strong></em></p>
<p style="text-align:center;"><em><strong>(1/x^2)dx=(2y/(2-y^2))dy</strong></em></p>
<p style="text-align:center;"><em><strong>∫(1/x^2)dx=∫((2y)/(2-y^2))dy</strong></em><strong></strong></p>
<p style="text-align:center;"><span style="font-weight:normal;">U-Substitution:</span></p>
<p style="text-align:center;"><em><strong><span style="font-weight:normal;">u=2-y^2</span></strong></em></p>
<p style="text-align:center;"><em><strong><span style="font-weight:normal;">du=-2ydy</span></strong></em></p>
<p style="text-align:center;"><em><strong><span style="font-weight:normal;">-du=2y</span></strong></em></p>
<p style="text-align:center;"><em><strong><span style="font-weight:normal;"><br />
</span></strong></em></p>
<p style="text-align:center;"><em><strong><span style="font-weight:normal;">-∫du/u=∫x^(-2)dx</span></strong></em></p>
<p style="text-align:center;"><em><strong><span style="font-weight:normal;">-ln|u|=(-1/x)+C</span></strong></em></p>
<p style="text-align:center;"><em><strong><span style="font-weight:normal;">ln|2-y^2|=(1/x)+C</span></strong></em></p>
<p style="text-align:center;"><em><strong><span style="font-weight:normal;">e^(ln|2-y^2|=(e^(1/x))+C</span></strong></em></p>
<p style="text-align:center;"><em><strong><span style="font-weight:normal;">|2-y^2|=e^(1/x)+C</span></strong></em></p>
<p style="text-align:center;"><em><strong><span style="font-weight:normal;">y=±√2-(e^1/x)+C</span></strong></em><strong><span style="font-weight:normal;"><em><br />
</em></span></strong></p>
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;"><strong>14:<em> dy/dx-xy^2=2xy</em></strong></p>
<p style="text-align:center;"><strong><em>dy/dx=2xy+xy^2</em></strong></p>
<p style="text-align:center;"><strong><em>dy/dx=x(2y+y^2)</em></strong></p>
<p style="text-align:center;"><strong><em>dy/xdx=2y+y^2</em></strong></p>
<p style="text-align:center;"><strong><em>1/xdx=(2y+y^2)/dy</em></strong></p>
<p style="text-align:center;"><strong><em>xdx=dy/(2y+y^2)</em></strong></p>
<p style="text-align:center;"><strong><em>∫xdx=∫(dy)/(2y+y^2)</em></strong></p>
<p style="text-align:center;"><strong><em>1/2x^2=(ln(|y|/|y+2|)/2)</em></strong></p>
<p style="text-align:center;"><strong><em>x^2=ln(|y|/|y+2|)</em></strong></p>
<p style="text-align:center;"><strong><em>e^x^2=e^(ln(|y|/|y+2|))</em></strong></p>
<p style="text-align:center;"><strong><em>e^x^2=|y|/|y+2|</em></strong></p>
<p style="text-align:center;"><strong><em>y=(-2e^x^2)/((e^x^2)-1)<br />
</em></strong></p>
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;">
<p style="text-align:center;"><em><br />
</em></p>
<p style="text-align:center;">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielletropeamth212s09.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielletropeamth212s09.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielletropeamth212s09.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielletropeamth212s09.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielletropeamth212s09.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielletropeamth212s09.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielletropeamth212s09.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielletropeamth212s09.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielletropeamth212s09.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielletropeamth212s09.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielletropeamth212s09.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielletropeamth212s09.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielletropeamth212s09.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielletropeamth212s09.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=97&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielletropeamth212s09.wordpress.com/2009/04/23/fourth-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e96b86505644e5ebf205a05e61082e8b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Danielle's Blog</media:title>
		</media:content>
	</item>
		<item>
		<title>Third Block!!!</title>
		<link>http://danielletropeamth212s09.wordpress.com/2009/03/24/third-block/</link>
		<comments>http://danielletropeamth212s09.wordpress.com/2009/03/24/third-block/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 02:27:55 +0000</pubDate>
		<dc:creator>Danielle's Blog</dc:creator>
				<category><![CDATA[DiffEqu]]></category>

		<guid isPermaLink="false">http://danielletropeamth212s09.wordpress.com/?p=68</guid>
		<description><![CDATA[While addressing a major issue I will use differential equations to model physical or biological phenomena; the nature of the solution curves to a system of coupled non-linear differential equations. Lorenz Equations dx/dy=σ(y-x) dx/dt=x(ρ-x) dz/dt=xy-βz Now I created an m file called lorenz_system.m which returns the derivative function as a column vector. I used this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=68&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!--[if !mso]&gt; &lt;!  v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} --> <!--[endif]--><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><br />
While addressing a major issue I will use differential equations to model physical or biological phenomena; the nature of the solution curves to a system of coupled non-linear differential equations.</p>
<p><span style="color:#000000;">Lorenz Equations</span></p>
<p><span style="color:#000000;"><strong><em>dx/dy=</em><em>σ</em><em>(y-x)</em></strong></span></p>
<p><span style="color:#000000;"><strong><em>dx/dt=x(</em><em>ρ</em><em>-x)</em></strong></span></p>
<p><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --></p>
<p><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --></p>
<p><span style="color:#000000;"><strong><em>dz/dt=xy-</em><em>β</em><em>z</em></strong></span></p>
<p>Now I created an m file called lorenz_system.m which returns the derivative function as a column vector. I used this same code each time only changing the three variables <strong>σ</strong>, <strong>β</strong>, and <strong>ρ</strong>.</p>
<p style="padding-left:30px;"><span style="color:#000000;">function yprime = lorenz_system (t,y)</span></p>
<p style="padding-left:30px;"><span style="color:#000000;">yprime = [ <strong>σ</strong>* (y(2)-y(1)); y(1)*(<strong>ρ</strong>-y(3))-y(2);y(1)*y(2)-<strong>β</strong>*y(3) ];</span></p>
<p><span style="color:#000000;">To run this in the command line; I set up the vector of initial condition, the time range, and the number of steps to take, and call “lorenz_system” as an argument to euler_system.m. Below is the code I used.</span></p>
<p style="padding-left:30px;"><span style="color:#000000;">&gt;&gt; y_init = [ rand(); rand(); rand() ];<br />
&gt;&gt; [ t, y ] = euler_system ( ‘lorenz_system’, [ 0.0, 20.0 ], y_init, 1000 );</span></p>
<p><span style="color:#000000;">To get a plot of the Lorenz attractor I used a built-in package for obtaining approximate numerical solutions to differential equations and systems of differential equations in MATLAB called ode45.</span></p>
<p><span style="color:#000000;">To use the ode 45 for the lorenz system I created two m-files. Following is the code for the first m-file which I saved as g.m.</span></p>
<p style="padding-left:30px;"><span style="color:#000000;">function xdot = g(t,x)</span></p>
<p style="padding-left:30px;"><span style="color:#000000;">xdot = zeros(3,1);</span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><strong>σ</strong>= 10.0;</span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><strong>ρ</strong> = 28.0;</span></p>
<p style="padding-left:30px;"><span style="color:#000000;"><strong>β</strong>= 8.0/3.0;</span></p>
<p style="padding-left:30px;"><span style="color:#000000;">xdot(1) = <strong>σ</strong>*(x(2)-x(1));</span></p>
<p style="padding-left:30px;"><span style="color:#000000;">xdot(2) = <strong>ρ</strong>*x(1)-x(2)-x(1)*x(3);</span></p>
<p style="padding-left:30px;"><span style="color:#000000;">xdot(3) = x(1)*x(2)-<strong>β</strong>*x(3);</span></p>
<p><span style="color:#000000;">Below is the code for the second m-file that I saved as lorenz_demo.m</span></p>
<p><span style="color:#000000;">function lorenz_demo(time)</span></p>
<p style="padding-left:30px;"><span style="color:#000000;">[t,x] = ode45(’g’,[0 time],[1;2;3]);</span></p>
<p style="padding-left:30px;"><span style="color:#000000;">disp(’press any key to continue …’)</span></p>
<p style="padding-left:30px;"><span style="color:#000000;">pause</span></p>
<p style="padding-left:30px;"><span style="color:#000000;">plot3(x(:,1),x(:,2),x(:,3))</span></p>
<p style="padding-left:30px;"><span style="color:#000000;">print -deps lorenz.eps</span></p>
<p><span style="color:#000000;">This function integrates the Lorenz attractor and from t=0 to t=time.</span></p>
<p><span style="color:#000000;">I then entered “lorenz_demo(200)” at the MATLAB prompt to produce a graphical solution to the Lorenz system of differential equations. The timer ranges from 0 to 200.</span></p>
<p><span style="color:#000000;">1.<strong>σ</strong> = 10</span></p>
<p><span style="color:#000000;"><strong>β</strong> = 8/3</span></p>
<p><span style="color:#000000;"><strong>ρ</strong> = 28</span></p>
<p><span style="color:#000000;"><strong><em>Euler 2-D:</em></strong></span></p>
<p><img class="alignnone size-full wp-image-69" title="eulerlorenz2d1" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/eulerlorenz2d1.jpg?w=490" alt="eulerlorenz2d1"   /></p>
<p><em><strong>Euler 3-D:</strong></em></p>
<p><img class="alignnone size-full wp-image-70" title="eulerlorenz3d1" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/eulerlorenz3d1.jpg?w=490" alt="eulerlorenz3d1"   /></p>
<p><strong><em>Ode 45:</em></strong></p>
<p><img class="alignnone size-full wp-image-71" title="lorenzdemo" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/lorenzdemo.jpg?w=490" alt="lorenzdemo"   /></p>
<p><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p>2.<strong>σ</strong> = 10</p>
<p><strong>β</strong> = 8/3</p>
<p><strong>ρ</strong> = 18</p>
<p><em><strong>Euler 2-D: </strong></em></p>
<p><em><strong><img class="alignnone size-full wp-image-72" title="eulerlorenz2d2" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/eulerlorenz2d2.jpg?w=490" alt="eulerlorenz2d2"   /></strong></em></p>
<p><em><strong>Euler 3-D:<br />
</strong></em></p>
<p><em><strong><img class="alignnone size-full wp-image-73" title="eulerlorenz3d2" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/eulerlorenz3d2.jpg?w=490" alt="eulerlorenz3d2"   /></strong></em></p>
<p><em><strong>Ode 45:</strong></em></p>
<p><em><strong><img class="alignnone size-full wp-image-74" title="lorenzdemo18" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/lorenzdemo18.jpg?w=490" alt="lorenzdemo18"   /></strong></em></p>
<p><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p>3.<strong>σ</strong> = 10</p>
<p><strong>β</strong> = 8/3</p>
<p><strong>ρ</strong> = 8</p>
<p><em><strong>Euler 2-D:</strong></em></p>
<p><em><strong><img class="alignnone size-full wp-image-75" title="eulerlorenz2d3" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/eulerlorenz2d3.jpg?w=490" alt="eulerlorenz2d3"   /></strong></em></p>
<p><em><strong>Euler 3-D:</strong></em></p>
<p><em><strong><img class="alignnone size-full wp-image-77" title="eulerlorenz3d3" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/eulerlorenz3d3.jpg?w=490" alt="eulerlorenz3d3"   /></strong></em></p>
<p><em><strong>Ode 45:<br />
</strong></em></p>
<p><em><strong><img class="alignnone size-full wp-image-76" title="lorenzdemo8" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/lorenzdemo8.jpg?w=490" alt="lorenzdemo8"   /></strong></em></p>
<p>To solve Rossler system of equations, I reopened the previous Euler m-file. I saved the following code saved as rossler.m which defines the Rossler system of equations.</p>
<p><!--[if !mso]&gt; &lt;!  v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} --> <!--[endif]--><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p>function yprime = lorenz_system ( t, y )<br />
yprime = [-y(2)-y(3); y(1)+a*y(2);b+y(3)*(y(1)-c) ];</p>
<p>To call “lorenz_system” as an argument to euler_system.m. I used the code below.</p>
<p>&gt;&gt; y_init = [ rand(); rand(); rand() ];<br />
&gt;&gt; [ t, y ] = euler_system ( ‘lorenz_system’, [ -50.0, 50.0 ], y_init, 10000 );</p>
<p>After getting the solutions yielded by the Euler Method, I used ode 45. I used similar m files to the ones used with the Lorenz system of equations. I made an m-file to define the Rossler differential equations. I changed this m file each time with the different value of a,b, and c.</p>
<p>I created an m-file called rossler_demo.m to solve the rossler system. The following is the code I used:</p>
<p>function rossler_demo(time)</p>
<p>[t,x] = ode45(’gr’,[0 time],[1;2;3]);<br />
disp(’press any key to continue …’)<br />
pause<br />
plot3(x(:,1),x(:,2),x(:,3))<br />
print -deps rossler.eps</p>
<p>I entered  “rossler_demo(200)” into the command window to execute the Ode 45.</p>
<p>I used the following code, only altering the values of a,b, and c.</p>
<p>function xdot = gr(t,x)<br />
xdot = zeros(3,1);<br />
a = 0.2;<br />
b = 0.2;<br />
c = 5.7;<br />
xdot(1) = -x(2)-x(3);<br />
xdot(2) = x(1)+ax(2);<br />
xdot(3) = b+x(3)*(x(1)-c);</p>
<p>1.a = 0.2</p>
<p>b = 0.2</p>
<p>c = 5.7</p>
<p><strong><em>Euler 2-D:</em></strong></p>
<p><img class="alignnone size-full wp-image-78" title="rossler_1_2_2d" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_1_2_2d.jpg?w=490" alt="rossler_1_2_2d"   /></p>
<p><!--[if gte vml 1]&gt;                    &lt;![endif]--><!--[if !vml]--><!--[endif]--></p>
<p><strong><em>Euler 3-D:</em></strong></p>
<p><img class="alignnone size-full wp-image-79" title="rossler_euler_1" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_euler_1.jpg?w=490" alt="rossler_euler_1"   /></p>
<p><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><!--[endif]--></p>
<p><strong><em>Ode 45:</em></strong></p>
<p><img class="alignnone size-full wp-image-80" title="rossler_ode_02_5" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_ode_02_5.jpg?w=490" alt="rossler_ode_02_5"   /></p>
<p><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><!--[endif]--></p>
<p>2.a = 0.1</p>
<p>b = 0.1</p>
<p>c = 4</p>
<p><strong><em>Euler 2-D:</em></strong></p>
<p><img class="alignnone size-full wp-image-81" title="rossler_1_1_4_2d1" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_1_1_4_2d1.jpg?w=490" alt="rossler_1_1_4_2d1"   /></p>
<p><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><!--[endif]--><strong><em>Euler 3-D:</em></strong></p>
<p><img class="alignnone size-full wp-image-82" title="rossler_euler_2_1_4" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_euler_2_1_4.jpg?w=490" alt="rossler_euler_2_1_4"   /></p>
<p><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><!--[endif]--></p>
<p><strong><em>Ode 45:</em></strong></p>
<p><img class="alignnone size-full wp-image-83" title="rossler_ode_01_4" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_ode_01_4.jpg?w=490" alt="rossler_ode_01_4"   /></p>
<p><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><!--[endif]--></p>
<p>3.a = 0.1</p>
<p>b = 0.1</p>
<p>c =12</p>
<p><strong><em>Euler 2-D:</em></strong></p>
<p><img class="alignnone size-full wp-image-84" title="rossler_1_1_12_2d" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_1_1_12_2d.jpg?w=490" alt="rossler_1_1_12_2d"   /></p>
<p><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><!--[endif]--><strong><em>Euler 3-D:</em></strong></p>
<p><img class="alignnone size-full wp-image-85" title="rossler_euler_2_1_12" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_euler_2_1_12.jpg?w=490" alt="rossler_euler_2_1_12"   /></p>
<p><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><!--[endif]--></p>
<p><strong><em>Ode 45:</em></strong></p>
<p><img class="alignnone size-full wp-image-86" title="rossler_ode_01_12" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_ode_01_12.jpg?w=490" alt="rossler_ode_01_12"   /></p>
<p><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><!--[endif]--></p>
<p>4.a = 0.1</p>
<p>b = 0.1</p>
<p>c = 18</p>
<p><em><strong>Euler 2-D:</strong></em></p>
<p><img class="alignnone size-full wp-image-87" title="rossler_1_1_18_2d" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_1_1_18_2d.jpg?w=490" alt="rossler_1_1_18_2d"   /></p>
<p><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><!--[endif]--></p>
<p><em><strong>Euler 3-D:</strong></em></p>
<p><img class="alignnone size-full wp-image-88" title="rossler_euler_2_1_18" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_euler_2_1_18.jpg?w=490" alt="rossler_euler_2_1_18"   /></p>
<p><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><!--[endif]--></p>
<p><em><strong>Ode 45:</strong></em></p>
<p><img class="alignnone size-full wp-image-89" title="rossler_ode_01_18" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_ode_01_18.jpg?w=490" alt="rossler_ode_01_18"   /></p>
<p><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><!--[endif]--></p>
<p class="MsoNormal">
<p><em><strong><br />
</strong></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielletropeamth212s09.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielletropeamth212s09.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielletropeamth212s09.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielletropeamth212s09.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielletropeamth212s09.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielletropeamth212s09.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielletropeamth212s09.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielletropeamth212s09.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielletropeamth212s09.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielletropeamth212s09.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielletropeamth212s09.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielletropeamth212s09.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielletropeamth212s09.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielletropeamth212s09.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=68&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielletropeamth212s09.wordpress.com/2009/03/24/third-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e96b86505644e5ebf205a05e61082e8b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Danielle's Blog</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/eulerlorenz2d1.jpg" medium="image">
			<media:title type="html">eulerlorenz2d1</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/eulerlorenz3d1.jpg" medium="image">
			<media:title type="html">eulerlorenz3d1</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/lorenzdemo.jpg" medium="image">
			<media:title type="html">lorenzdemo</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/eulerlorenz2d2.jpg" medium="image">
			<media:title type="html">eulerlorenz2d2</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/eulerlorenz3d2.jpg" medium="image">
			<media:title type="html">eulerlorenz3d2</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/lorenzdemo18.jpg" medium="image">
			<media:title type="html">lorenzdemo18</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/eulerlorenz2d3.jpg" medium="image">
			<media:title type="html">eulerlorenz2d3</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/eulerlorenz3d3.jpg" medium="image">
			<media:title type="html">eulerlorenz3d3</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/lorenzdemo8.jpg" medium="image">
			<media:title type="html">lorenzdemo8</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_1_2_2d.jpg" medium="image">
			<media:title type="html">rossler_1_2_2d</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_euler_1.jpg" medium="image">
			<media:title type="html">rossler_euler_1</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_ode_02_5.jpg" medium="image">
			<media:title type="html">rossler_ode_02_5</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_1_1_4_2d1.jpg" medium="image">
			<media:title type="html">rossler_1_1_4_2d1</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_euler_2_1_4.jpg" medium="image">
			<media:title type="html">rossler_euler_2_1_4</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_ode_01_4.jpg" medium="image">
			<media:title type="html">rossler_ode_01_4</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_1_1_12_2d.jpg" medium="image">
			<media:title type="html">rossler_1_1_12_2d</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_euler_2_1_12.jpg" medium="image">
			<media:title type="html">rossler_euler_2_1_12</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_ode_01_12.jpg" medium="image">
			<media:title type="html">rossler_ode_01_12</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_1_1_18_2d.jpg" medium="image">
			<media:title type="html">rossler_1_1_18_2d</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_euler_2_1_18.jpg" medium="image">
			<media:title type="html">rossler_euler_2_1_18</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/rossler_ode_01_18.jpg" medium="image">
			<media:title type="html">rossler_ode_01_18</media:title>
		</media:content>
	</item>
		<item>
		<title>Second Block!!</title>
		<link>http://danielletropeamth212s09.wordpress.com/2009/02/20/second-block/</link>
		<comments>http://danielletropeamth212s09.wordpress.com/2009/02/20/second-block/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 18:43:24 +0000</pubDate>
		<dc:creator>Danielle's Blog</dc:creator>
				<category><![CDATA[DiffEqu]]></category>

		<guid isPermaLink="false">http://danielletropeamth212s09.wordpress.com/?p=20</guid>
		<description><![CDATA[In the previous block I got familiar with Euler methods of approximations. This technique is also known as a first order method. Meaning it uses straight lines to make up an estimate of the solutions slope.  The error between the exact and approximate solution is only a constant times the set step size. This error [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=20&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">In the previous block I got familiar with Euler methods of approximations. This technique is also known as a first order method. Meaning it uses straight lines to make up an estimate of the solutions slope.  The error between the exact and approximate solution is only a constant times the set step size. This error is represented by the statement:</p>
<p style="text-align:left;">|y_i-y(x_i)|≤Ch</p>
<p>C is a constant value depending on the function and specific interval and h is the step size, as explained in the text.  Things aren’t always constant which in turn cause Eulers method to be inclined to errors. Mathematicians named Carl Runge and Wilhelkm Kutta, set out to find a better way to solve these problems.They came up with what is known as the Runge-Kutta 4th Order Method. They used parabolas and quartics instead of using a bunch of straight lines to make up a solutions curve. This in turn makes for a much more accurate approximation:</p>
<p>|y_i-y(x_i ) |≤Mh^4</p>
<p>M is a constant value depending on the function and specific interval and h is the step size, as explained in the text.</p>
<p>Using the same technique of creating m-files for the Euler method and differential equations. MATLAB has a built in function called “ode 45″ that is used like the Euler m-file.</p>
<p><strong>Problem#1:</strong> <em><strong>dy/dx=(x^4)y</strong></em></p>
<p>The first step is to plot the equation using the Euler method. First a created a file called block2.m :</p>
<p>function f=block2(xn,yn)<br />
%<br />
% The original ode is dy/dx=((x^4)*y)<br />
%<br />
f= (xn.^4).*yn</p>
<p>Another separate “m” file was needed as well as code in the main window of MATLAB. This is both the “m” file that we named euler1.m and the main window code that we used to set up the Euler approach.</p>
<p>function [xout,yout]=euler(fname,xvals,y0,h)<br />
x0=xvals(1);xf=xvals(2);<br />
xn=x0; yn=y0;<br />
xout=xn; yout=yn;<br />
steps=(xf-x0)/h;<br />
for j=1:steps<br />
fn=feval(fname,xn,yn);<br />
xn=xn+h;<br />
yn=yn+h*fn;<br />
xout=[xout;xn];<br />
yout=[yout;yn];<br />
end</p>
<p>The main window code is as follows:</p>
<p>[x,y]=euler1(’Example’,[-1,1],1,.1);</p>
<p>[X,Y]=meshgrid(-4:0.2:4,-4:0.2:4);</p>
<p>DY=(X.^4).*Y;<br />
DX=ones(size(DY));<br />
DW=sqrt(DX.^2+DY.^2);<br />
quiver(X,Y,DX./DW,DY./DW,0.5,’.&#8217;);<br />
hold on<br />
plot(x,y)<br />
hold off</p>
<p>Resulting in this graph:</p>
<p><img class="alignnone size-full wp-image-36" title="block-2-euler-plot-1" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-euler-plot-1.jpg?w=490" alt="block-2-euler-plot-1"   /></p>
<p>As you can see a straight line with slope of 0 is formed at y=o. The range of the solution has to be so small because once I expanded the bounds of the line the graph either shrank so speedily or grew to fast that the line quickly went out of range and the graphical solution was useless.</p>
<p>After the completion of this graph the Runge-Kutta method was used to see if there was any difference between the two methods. For this solution I had to create another new “m” file, RK.m, and place a new set of code in the main command window.</p>
<p><strong>RK.m<br />
</strong></p>
<p>function [xout,yout]=RK(fname, xvals, y0, h)<br />
x0=xvals(1);xf=xvals(2);<br />
xn=x0; yn=y0;<br />
xout=xn; yout=yn;<br />
steps=(xf-x0)/h;<br />
yn=yn’;</p>
<p>for j=1:steps<br />
k1=feval(fname,xn,yn);<br />
k2=feval(fname, xn+(h/2), yn+(h*k1/2));<br />
k3=feval(fname, xn+(h/2), yn+(h*k2/2));<br />
k4=feval(fname, xn+h,yn+h*k3);<br />
ynext=yn+h*(k1+2*k2+2*k3+k4)/6;<br />
xnext=xn+h;<br />
xout=[xout;xnext];<br />
yout=[yout; ynext'];<br />
xn=xnext;<br />
yn=ynext;<br />
end</p>
<p><strong>Command Window Code for Runge-Kutta</strong></p>
<p>&gt;&gt; [x,y]=RK4(’Example1′,[-1,1],1,.1);<br />
&gt;&gt; [X,Y]=meshgrid(-4:0.2:4,-4:0.2:4);<br />
&gt;&gt; DY=(X.^4).*Y;<br />
&gt;&gt; DX=ones(size(DY));<br />
&gt;&gt; DW=sqrt(DX.^2+DY.^2);<br />
&gt;&gt; quiver(X,Y,DX./DW,DY./DW,0.5,’.&#8217;);<br />
&gt;&gt; hold on<br />
&gt;&gt; plot(x,y)<br />
&gt;&gt; hold off</p>
<p><img class="alignnone size-full wp-image-37" title="block-2-rk4-plot-11" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-rk4-plot-11.jpg?w=490" alt="block-2-rk4-plot-11"   /></p>
<p>Even these two methods look almost exactly the same when the two lines are placed on the same plane there is a much bigger difference than expected. Using this code we were able to compare Euler, RK4, as well as the MATLAB solution to differential equations called ode45.  There is almost no difference between RK4 and ode45.</p>
<p><img class="alignnone size-full wp-image-38" title="block-2-comparison-plot-12" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-comparison-plot-12.jpg?w=490" alt="block-2-comparison-plot-12"   /></p>
<p>The final step is to compare all graphical solutions to the numerical solutons using dsolve.</p>
<p class="MsoNormal"><strong>Input:</strong> dsolve(’Dy=(x^4)*y,y(1)=1′,’x&#8217;)</p>
<p class="MsoNormal"><span><strong>Output:</strong> </span>ans = exp(x^5/5)/exp(1/5)</p>
<p class="MsoNormal">After getting the equation I told MATLAB to graph the dsolve solution on the same plane as the previous comparison. I chose the color green to represent the dsolve solution.</p>
<p class="MsoNormal"><strong>Command Window code:</strong></p>
<p>&gt;&gt; [x,y]=euler1(’Example’,[-1,1],1,.1);<br />
plot(x,y,’r&#8217;)<br />
hold on<br />
[x,y]=RK4(’Example’,[-1,1],1,.1);<br />
plot(x,y,’k&#8217;)<br />
hold on<br />
[x,y] = ode45(’Example’,[-1,1],1);<br />
plot(x,y)<br />
hold on<br />
f=@(x) exp(x^5/5)/exp(1/5)<br />
f =<br />
@(x)exp(x^5/5)/exp(1/5)<br />
&gt;&gt; fplot(f,[-1,1],’g&#8217;);<br />
&gt;&gt; hold off</p>
<p><img class="alignnone size-full wp-image-26" title="final-comparison-1" src="http://danielletropeamth212s09.files.wordpress.com/2009/02/final-comparison-1.jpg?w=490" alt="final-comparison-1"   /></p>
<p>There is almost a .05 difference in the y plane between RK4 and Euler through -0.4&lt;x&lt;0.4. To see the slight difference between the two graphical solutions I zoomed in the view. The accuracy of the RK4 is just slightly better.</p>
<p><strong><em>Problem #2: dy/dx=y+cos(x)</em></strong></p>
<p><strong>Euler Method:<em><br />
</em></strong></p>
<p><strong><em><img class="alignnone size-full wp-image-44" title="block-2-euler-plot-3" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-euler-plot-3.jpg?w=490" alt="block-2-euler-plot-3"   /></em></strong></p>
<p><strong>Runge-Kutta Method:</strong></p>
<p><strong><img class="alignnone size-full wp-image-45" title="block-2-rk4-plot-3" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-rk4-plot-3.jpg?w=490" alt="block-2-rk4-plot-3"   /></strong></p>
<p><strong>Comparison:</strong></p>
<p><strong><img class="alignnone size-full wp-image-46" title="block-2-comparison-plot-3" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-comparison-plot-3.jpg?w=490" alt="block-2-comparison-plot-3"   /></strong></p>
<p><strong>Comparison using Dsolve:</strong></p>
<p class="MsoNormal">dsolve(’Dy=y+cos(x),y(0)=0′,’x&#8217;)</p>
<p class="MsoNormal"><span> </span>ans =<span> </span>exp(x)/2 &#8211; cos(x)/2 + sin(x)/2</p>
<p class="MsoNormal"><img class="alignnone size-full wp-image-47" title="final-comparison-3" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/final-comparison-3.jpg?w=490" alt="final-comparison-3"   /></p>
<p class="MsoNormal">There is not much difference at all between these three solutions. I had to make the solution only from [-1,0] because the solution grew too fast in the positive x direction. The cos(x) is visible in the direction field as you can see the vectors almost trace the shape of a typical cos curve through the point (0,-1).</p>
<p class="MsoNormal"><strong><em>Problem #3: dy/dx= e^(-y)</em></strong></p>
<p class="MsoNormal"><strong>Euler:</strong></p>
<p class="MsoNormal"><strong></strong></p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-49" title="block-2-euler-plot-41" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-euler-plot-41.jpg?w=490" alt="block-2-euler-plot-41"   /></strong></p>
<p class="MsoNormal"><strong>Runge-Kutta:</strong></p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-50" title="block-2-rk4-plot-4" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-rk4-plot-4.jpg?w=490" alt="block-2-rk4-plot-4"   /></strong></p>
<p class="MsoNormal"><strong>Comparison:</strong></p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-52" title="block-2-comparison-plot-41" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-comparison-plot-41.jpg?w=490" alt="block-2-comparison-plot-41"   /></strong></p>
<p class="MsoNormal"><strong>Comparison with Dsolve:</strong></p>
<p class="MsoNormal">dsolve(’Dy=exp(-y),y(0)=2′,’x&#8217;)</p>
<p class="MsoNormal"><span> </span>ans =<span> </span>log(x + exp(2 &#8211; 2*pi*i*l)) + 2*pi*i*l<span> </span>[l]<span> </span>[Z_ intersect solve(Re(k) in [-1/2, 1/2), k)]</p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-53" title="final-comparison-4" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/final-comparison-4.jpg?w=490" alt="final-comparison-4"   /></strong></p>
<p class="MsoNormal">This graph is surprisingly very accurate.  The line is so close to being a straight line that the Euler method can easily follow the differential equation using its straight lines through the step points. This shows that the only time that a true difference between the methods is noticeable is in a really curvy and loopy differential equation. Since the Euler method is a simpler method to use then for problems such as this it is more that acceptable to use it.</p>
<p class="MsoNormal"><em><strong>Problem #4</strong></em>: <strong><em>dy/dx=e^(x^2)</em></strong></p>
<p class="MsoNormal"><strong>Euler:</strong></p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-54" title="block-2-euler-plot-5" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-euler-plot-5.jpg?w=490" alt="block-2-euler-plot-5"   /></strong></p>
<p class="MsoNormal"><strong>Runge-Kutta:</strong></p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-55" title="block-2-rk4-plot-5" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-rk4-plot-5.jpg?w=490" alt="block-2-rk4-plot-5"   /></strong></p>
<p class="MsoNormal"><strong>Comparison:</strong></p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-56" title="block-2-comparison-plot-53" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-comparison-plot-53.jpg?w=490" alt="block-2-comparison-plot-53"   /></strong></p>
<p style="text-align:left;">This particular differential equation does not have an explicit solution therefore the dsolve code could not be used to help find the answer.</p>
<p style="text-align:left;">This is another example of how the Euler method can sometimes be an perfectly acceptable method to solve a differential equation with. This line is not as straight as the previous problem but the curve is not abrupt and this allows the Euler method to produce a fairly accurate solution. Because the step size is so small, the graph looks really good.  If I had set the step size to 6 as I had said earlier and the first point was located at x=-3 and the second line was located at x=3 then the Euler method would produce a straight line connecting the two points. For the Runge-Kutta method, the same steps could be given and the result would produce a graph somewhat similar to what is shown here. The answer would be off by a lot in some points although it would be much closer to the actual answer than a straight line.</p>
<p style="text-align:left;"><em><strong>Problem #5: dy/dx=(x^2)y-(x^2)(y^2)</strong></em></p>
<p style="text-align:left;"><strong>Euler Method:</strong></p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-57" title="block-2-euler-plot-6" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-euler-plot-6.jpg?w=490" alt="block-2-euler-plot-6"   /><br />
</strong></p>
<p class="MsoNormal"><strong>Runge-Kutta Method:</strong></p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-58" title="block-2-rk4-plot-6" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-rk4-plot-6.jpg?w=490" alt="block-2-rk4-plot-6"   /></strong></p>
<p class="MsoNormal"><strong>Comparison:</strong></p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-59" title="block-2-comparison-plot-62" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-comparison-plot-62.jpg?w=490" alt="block-2-comparison-plot-62"   /></strong></p>
<p class="MsoNormal">This differential equation also does not have an explicit solution and again the dsolve could not me used.  Also in repetition, the Runge-Kutta is almost on top of the solution given by ode45. The linear part of this graph from about -.5&lt;x&lt;1 is portrayed much more accuratly through these two methods. The Euler mothod could not curve as sharply as the other two methods so it entered the linear portion a little too low. You will notice however that the three methods are all exactly the same from about x&gt;2 forming a straight light.</p>
<p class="MsoNormal">
<p class="MsoNormal"><strong><em>Problem #6: dy/dx=(-y^2)cosx</em></strong></p>
<p class="MsoNormal"><strong>Euler:</strong></p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-61" title="number3euler" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/number3euler.jpg?w=490" alt="number3euler"   /></strong></p>
<p class="MsoNormal"><strong>Runge-Kutta:</strong></p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-62" title="number3runge" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/number3runge.jpg?w=490" alt="number3runge"   /></strong></p>
<p class="MsoNormal"><strong>Comparison:</strong></p>
<p class="MsoNormal"><strong><img class="alignnone size-full wp-image-63" title="number3compar" src="http://danielletropeamth212s09.files.wordpress.com/2009/03/number3compar.jpg?w=490" alt="number3compar"   /></strong></p>
<p>As you can see in the above example that the Runge-Kutta method definitely varies from the curve of the Euler’s method. What happens here is as the solution goes down the Euler method fails to be as accurate. It uses segments of lines that are not small enough to make a tighter curve.  MATLAB’s dsolve came up with the solution below.</p>
<p>dsolve(’Dy=-y^2*cos(x)’,&#8217;x’)</p>
<p>ans =</p>
<p>1/(sin(x)+C1)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielletropeamth212s09.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielletropeamth212s09.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielletropeamth212s09.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielletropeamth212s09.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielletropeamth212s09.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielletropeamth212s09.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielletropeamth212s09.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielletropeamth212s09.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielletropeamth212s09.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielletropeamth212s09.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielletropeamth212s09.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielletropeamth212s09.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielletropeamth212s09.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielletropeamth212s09.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=20&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielletropeamth212s09.wordpress.com/2009/02/20/second-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e96b86505644e5ebf205a05e61082e8b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Danielle's Blog</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-euler-plot-1.jpg" medium="image">
			<media:title type="html">block-2-euler-plot-1</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-rk4-plot-11.jpg" medium="image">
			<media:title type="html">block-2-rk4-plot-11</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-comparison-plot-12.jpg" medium="image">
			<media:title type="html">block-2-comparison-plot-12</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/02/final-comparison-1.jpg" medium="image">
			<media:title type="html">final-comparison-1</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-euler-plot-3.jpg" medium="image">
			<media:title type="html">block-2-euler-plot-3</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-rk4-plot-3.jpg" medium="image">
			<media:title type="html">block-2-rk4-plot-3</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-comparison-plot-3.jpg" medium="image">
			<media:title type="html">block-2-comparison-plot-3</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/final-comparison-3.jpg" medium="image">
			<media:title type="html">final-comparison-3</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-euler-plot-41.jpg" medium="image">
			<media:title type="html">block-2-euler-plot-41</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-rk4-plot-4.jpg" medium="image">
			<media:title type="html">block-2-rk4-plot-4</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-comparison-plot-41.jpg" medium="image">
			<media:title type="html">block-2-comparison-plot-41</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/final-comparison-4.jpg" medium="image">
			<media:title type="html">final-comparison-4</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-euler-plot-5.jpg" medium="image">
			<media:title type="html">block-2-euler-plot-5</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-rk4-plot-5.jpg" medium="image">
			<media:title type="html">block-2-rk4-plot-5</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-comparison-plot-53.jpg" medium="image">
			<media:title type="html">block-2-comparison-plot-53</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-euler-plot-6.jpg" medium="image">
			<media:title type="html">block-2-euler-plot-6</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-rk4-plot-6.jpg" medium="image">
			<media:title type="html">block-2-rk4-plot-6</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/block-2-comparison-plot-62.jpg" medium="image">
			<media:title type="html">block-2-comparison-plot-62</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/number3euler.jpg" medium="image">
			<media:title type="html">number3euler</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/number3runge.jpg" medium="image">
			<media:title type="html">number3runge</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/03/number3compar.jpg" medium="image">
			<media:title type="html">number3compar</media:title>
		</media:content>
	</item>
		<item>
		<title>First Block!</title>
		<link>http://danielletropeamth212s09.wordpress.com/2009/01/28/first-block/</link>
		<comments>http://danielletropeamth212s09.wordpress.com/2009/01/28/first-block/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 23:36:43 +0000</pubDate>
		<dc:creator>Danielle's Blog</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[DiffEqu]]></category>

		<guid isPermaLink="false">http://danielletropeamth212s09.wordpress.com/?p=117</guid>
		<description><![CDATA[In my first post I will analyze two problems, one from the text dy/dx = xy (#17) and the given problem dy/dx = y^2 + t . First, I will plot a direction field for the first differential equation using MATLAB. Using the text, on page 85, the code used to create the direction field [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=117&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my first post I will analyze two problems, one from the text</p>
<p><strong><em>dy/dx = xy</em></strong> (#17)</p>
<p>and the given problem</p>
<p><strong><em>dy/dx = y^2 + t</em></strong> .</p>
<p>First, I will plot a direction field for the first differential equation using MATLAB. Using the text, on page 85, the code used to create the direction field in MATLAB is the following,</p>
<p><strong>[X,Y]= meshgrid(-2*pi:.25:2*pi,-2*pi:.25:2*pi);</strong></p>
<p><strong>DY=X.*Y</strong></p>
<p><strong>DX=ones(size(DY));</strong></p>
<p><strong>DW=sqrt(DX.^2 +DY.^2);</strong></p>
<p><strong>quiver(X,Y,DX./DW,DY./DW,.33,‘.’);</strong></p>
<p><strong>xlabel(‘x’);</strong></p>
<p><strong>ylabel(‘y’);</strong></p>
<p>Which yields this direction field,</p>
<p><img class="alignnone size-full wp-image-118" title="euler1" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/euler1.jpg?w=490" alt="euler1"   /></p>
<p>In order to obtain the Euler approximation for this equation, I used the following MATLAB code as it was stated in the text.</p>
<p><strong>function [xout,yout]=euler(fname,xvals,y0,h)</strong><strong><br />
</strong><strong>x0=xvals(1);xf=xvals(2);</strong><strong><br />
</strong><strong>xn=x0;</strong><strong><br />
</strong><strong>yn=y0;</strong><strong><br />
</strong><strong>xout=xn;</strong><strong><br />
</strong><strong>yout=yn;</strong><strong><br />
</strong><strong>steps=(xf-x0)/h;</strong><strong><br />
</strong><strong>for j=1:steps</strong><strong><br />
</strong><strong>fn=feval(fname,xn,yn);</strong><strong><br />
</strong><strong>xn=xn+h;</strong><strong><br />
</strong><strong>yn=yn+h*fn;</strong><strong><br />
</strong><strong>xout=[xout;xn];</strong><strong><br />
</strong><strong>yout=[yout;yn];</strong><strong><br />
</strong><strong>end</strong></p>
<p>The Euler approximation that MATLAB created is as follows,</p>
<p><img class="alignnone size-full wp-image-119" title="euler17" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/euler17.jpeg?w=490" alt="euler17"   /></p>
<p>The next step was to plot the Euler method over the directional field, which created the following graph,</p>
<p><img class="alignnone size-full wp-image-120" title="prob17final" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/prob17final.jpeg?w=490" alt="prob17final"   /></p>
<ol>
<li>Notice the directional field lines are tangential to the curve. This tells us that the graph produced is a viable solution to this equation.</li>
</ol>
<p>After completing the first differential equation, the same steps were taken for the second differential equation. The MATLAB code for the directional field for</p>
<p><strong><em>dy/dx = y^2 + t</em></strong> is the same as the last equation, as follows,</p>
<p><strong>[T,Y]= meshgrid(-2*pi:.25:2*pi,-2*pi:.25:2*pi);</strong></p>
<p><strong>DY=Y.^2+T</strong></p>
<p><strong>DT=ones(size(DY));</strong></p>
<p><strong>DW=sqrt(DT.^2 +DY.^2);</strong></p>
<p><strong>quiver(T,Y,DT./DW,DY./DW,.33,‘.’);</strong></p>
<p><strong>xlabel(‘x’);</strong></p>
<p><strong>ylabel(‘y’);</strong></p>
<p>After getting the directional field for this equation, I used the same general equation for the Euler method as the previous problems. Some changes in the equation were necessary to yield the graph below.</p>
<p><img class="alignnone size-full wp-image-121" title="secondproblemgraph" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/secondproblemgraph.jpeg?w=490" alt="secondproblemgraph"   /></p>
<p>As done in the previous problem, the directional field and Euler method were plotted together.</p>
<p><img class="alignnone size-full wp-image-123" title="euler-final" src="http://danielletropeamth212s09.files.wordpress.com/2009/05/euler-final.jpeg?w=490" alt="euler-final"   /></p>
<p>Once again we notice the directional field lines are tangential to the curve. Now we can conclude that this is another successful solution to the given differential equation. I worked with Paul McDonald on this block.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danielletropeamth212s09.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danielletropeamth212s09.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danielletropeamth212s09.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danielletropeamth212s09.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/danielletropeamth212s09.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/danielletropeamth212s09.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/danielletropeamth212s09.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/danielletropeamth212s09.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danielletropeamth212s09.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danielletropeamth212s09.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danielletropeamth212s09.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danielletropeamth212s09.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danielletropeamth212s09.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danielletropeamth212s09.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danielletropeamth212s09.wordpress.com&amp;blog=6177979&amp;post=117&amp;subd=danielletropeamth212s09&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://danielletropeamth212s09.wordpress.com/2009/01/28/first-block/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e96b86505644e5ebf205a05e61082e8b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Danielle's Blog</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/euler1.jpg" medium="image">
			<media:title type="html">euler1</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/euler17.jpeg" medium="image">
			<media:title type="html">euler17</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/prob17final.jpeg" medium="image">
			<media:title type="html">prob17final</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/secondproblemgraph.jpeg" medium="image">
			<media:title type="html">secondproblemgraph</media:title>
		</media:content>

		<media:content url="http://danielletropeamth212s09.files.wordpress.com/2009/05/euler-final.jpeg" medium="image">
			<media:title type="html">euler-final</media:title>
		</media:content>
	</item>
	</channel>
</rss>
