Two Trains, One Fly - A Practical Example Of The Infinite Series
by Conall O'Brien
Due To Errors, Applet Has Not Been Compiled
Introduction:This Applet Demonstrates Convergence Of An Infinite
Series, Which Is A Sub Series Of The MacLaurin Series (or The Taylor Series)
In the applet, two trains are on the same track, their
speeds and initial distance apart are specified by the user. There is also
a fly on one train.
This applet calculates the total distance the fly will
travel (each trip getting smaller, creating an Infinite Series) before the
trains collide.
Explaination:To calculate the total distance travelled by the fly,
this applet calculates the distances travelled by each train and the distance
between them for every trip the fly makes from one train to another.
Then, using this remaining distance and the relative
velocity of the train the fly started from, it calculated the time of the next
trip.
This time is then used to calculate the distance of the
fly's journey. Now we have a term of our Infinite Series.
Introduction
Explaination
Credits
Credits:All Photos Courtesy Of Google
Text Input Classes Courtesy Of Ye Wang
Parser Class Courtesy Of Conor McDermottroe
© Conall O'Brien May 2002