Difference between revisions of "CSC103: DT's Notes 1"

From dftwiki3
Jump to: navigation, search
Line 1,669: Line 1,669:
 
The left column represents the number of the square being covered, and this number increases by 1 every time.  The second column represents the quantity of interest, the number of grains, and doubles every time.  So that is the setup for studying our exponential growth: something that doubles in size every fixed interval, in our case every new square.
 
The left column represents the number of the square being covered, and this number increases by 1 every time.  The second column represents the quantity of interest, the number of grains, and doubles every time.  So that is the setup for studying our exponential growth: something that doubles in size every fixed interval, in our case every new square.
  
Let's plot these numbers to see their growth.
+
Let's plot these numbers to observe their growth (plots generated with [[CSC103 Plotting with R|R]]).
 
<br />
 
<br />
<center>[[Image:CSC103_ExponentialGrowth1.png|300px]]</center>
+
<center>[[Image:CSC103_ExponentialGrowth1.png|450px]]</center>
 
<br />
 
<br />
Note the quick growth of the circlesBut to get the full impact of the exponential growth we need to plot a few more points, as illustrated in the plots below:
+
Note the quick growth of the squaresTo get the full impact of the exponential growth we need to plot a few more points, first from Square 1 to 13, then from Square 1 to 25, and finally from Square 1 all the way to 64, as illustrated in the plots below:
 
<br />
 
<br />
 
<center>
 
<center>
[[Image:CSC103_ExponentialGrowth2.png|200px]] &nbsp;&nbsp;&nbsp;&nbsp;
+
[[Image:CSC103_ExponentialGrowth2.png|250px]] &nbsp;&nbsp;&nbsp;&nbsp;
[[Image:CSC103_ExponentialGrowth3.png|200px]] &nbsp;&nbsp;&nbsp;&nbsp;
+
[[Image:CSC103_ExponentialGrowth3.png|250px]] &nbsp;&nbsp;&nbsp;&nbsp;
[[Image:CSC103_ExponentialGrowth4.png|200px]]
+
[[Image:CSC103_ExponentialGrowth4.png|250px]]
 
</center>
 
</center>
 +
 +
<br />
 +
What is important to see here is that as we show more and more squares, the actual growth that takes place for squares of low order (1, 2, 3, etc) is completely obfuscated by the large size of the quantities associated with the squares of higher order.
 +
 +
The last plot in the series, where all the squares from 1 to 64 are shown actually flattens everything except for Squares 55 and up. 
 +
  
  

Revision as of 16:08, 29 September 2013

--© D. Thiebaut 08:10, 30 January 2012 (EST)



This section is only visible to computers located at Smith College













.