<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How do I get the speed I&#8217;m traveling from 2 sets of GPS coordinates?</title>
	<atom:link href="http://www.foxfire1.com/speed-gps/how-do-i-get-the-speed-im-traveling-from-2-sets-of-gps-coordinates/feed" rel="self" type="application/rss+xml" />
	<link>http://www.foxfire1.com/speed-gps/how-do-i-get-the-speed-im-traveling-from-2-sets-of-gps-coordinates</link>
	<description>No more tickets</description>
	<lastBuildDate>Sun, 01 Aug 2010 03:12:59 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: TJ C</title>
		<link>http://www.foxfire1.com/speed-gps/how-do-i-get-the-speed-im-traveling-from-2-sets-of-gps-coordinates/comment-page-1#comment-680</link>
		<dc:creator>TJ C</dc:creator>
		<pubDate>Tue, 09 Feb 2010 02:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.foxfire1.com/speed-gps/how-do-i-get-the-speed-im-traveling-from-2-sets-of-gps-coordinates#comment-680</guid>
		<description>You probably need some  BASIC trigonometric .....
(I can&#039;t believe you know how to write computer program but not knowing this.....)

anyways....first, you need 2 points...assuming you measure those 2 points exactely 1 second apart.

assuming 
Point one: 
47.64753 degree North  
122.38547 degree West 

Point two:
47.64822 degree North 
122.38585 degree West 

you subtract each coord. point 1 and point 2 and you get
0.00069 degree 
0.00038 degree
(make sure use absolute value!) 

convert your degree to radian  first and times the R then you will have distance. 

0.00069 degree *3.141592654 / 180 = 1.20428E-05 radian  

0.00038 degree *3.141592654 / 180 = 6.63225E-06 radian  

Now....Times Radius of the earth of (6,371,000) meters on average

76.72449939 in the J direction (north and south)
42.25407213 in the I direction (east and west)

Now, you find the 3rd side of a right triangle
which is sequare root of 2 other side&#039;s square

so square root of ( 76.72449939 ^2 + 42.25407213 ^2 )
=87.590 meters

so the car traveled 87.590 meters in 1 second
times that 3600 seconds = 315324.97 meters
or approx 315,325 km/hour
it shouldn&#039;t be too hard to convert it to miles
(divide that number by 1.609344 ) 
you will get 195.93 miles per hour

now, 1 problem is that earth is actually a 3D surface.
so if your GPS get a 3D coordinate (even better) you may want to utilize that......
 (You will calculate it base on X,Y, Z instead of just X and Y axis)
the only difference is the last part. 
distance is square root  of (side 1 ^2 + side 2 ^2 + side 3 ^2 )

Interesting question!&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;I&#039;m an engineer. I don&#039;t do math. I set it up and send it to the mathematicians. ;)</description>
		<content:encoded><![CDATA[<p>You probably need some  BASIC trigonometric &#8230;..<br />
(I can&#8217;t believe you know how to write computer program but not knowing this&#8230;..)</p>
<p>anyways&#8230;.first, you need 2 points&#8230;assuming you measure those 2 points exactely 1 second apart.</p>
<p>assuming<br />
Point one:<br />
47.64753 degree North<br />
122.38547 degree West </p>
<p>Point two:<br />
47.64822 degree North<br />
122.38585 degree West </p>
<p>you subtract each coord. point 1 and point 2 and you get<br />
0.00069 degree<br />
0.00038 degree<br />
(make sure use absolute value!) </p>
<p>convert your degree to radian  first and times the R then you will have distance. </p>
<p>0.00069 degree *3.141592654 / 180 = 1.20428E-05 radian  </p>
<p>0.00038 degree *3.141592654 / 180 = 6.63225E-06 radian  </p>
<p>Now&#8230;.Times Radius of the earth of (6,371,000) meters on average</p>
<p>76.72449939 in the J direction (north and south)<br />
42.25407213 in the I direction (east and west)</p>
<p>Now, you find the 3rd side of a right triangle<br />
which is sequare root of 2 other side&#8217;s square</p>
<p>so square root of ( 76.72449939 ^2 + 42.25407213 ^2 )<br />
=87.590 meters</p>
<p>so the car traveled 87.590 meters in 1 second<br />
times that 3600 seconds = 315324.97 meters<br />
or approx 315,325 km/hour<br />
it shouldn&#8217;t be too hard to convert it to miles<br />
(divide that number by 1.609344 )<br />
you will get 195.93 miles per hour</p>
<p>now, 1 problem is that earth is actually a 3D surface.<br />
so if your GPS get a 3D coordinate (even better) you may want to utilize that&#8230;&#8230;<br />
 (You will calculate it base on X,Y, Z instead of just X and Y axis)<br />
the only difference is the last part.<br />
distance is square root  of (side 1 ^2 + side 2 ^2 + side 3 ^2 )</p>
<p>Interesting question!<br /><b>References : </b><br />I&#8217;m an engineer. I don&#8217;t do math. I set it up and send it to the mathematicians. <img src='http://www.foxfire1.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: justsomeguy</title>
		<link>http://www.foxfire1.com/speed-gps/how-do-i-get-the-speed-im-traveling-from-2-sets-of-gps-coordinates/comment-page-1#comment-679</link>
		<dc:creator>justsomeguy</dc:creator>
		<pubDate>Tue, 09 Feb 2010 02:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.foxfire1.com/speed-gps/how-do-i-get-the-speed-im-traveling-from-2-sets-of-gps-coordinates#comment-679</guid>
		<description>There&#039;s no magic formula, except the formula for velocity.

V=D/T where:

V=velocity
D=distance
T=time

Your program needs to read two points, calculate the distance between the points, and then divide it by the time between the readings. You can&#039;t just plug in two coordinates independent from a time reading, which is what it sounds like you want to do.&lt;br&gt;&lt;b&gt;References : &lt;/b&gt;&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>There&#8217;s no magic formula, except the formula for velocity.</p>
<p>V=D/T where:</p>
<p>V=velocity<br />
D=distance<br />
T=time</p>
<p>Your program needs to read two points, calculate the distance between the points, and then divide it by the time between the readings. You can&#8217;t just plug in two coordinates independent from a time reading, which is what it sounds like you want to do.<br /><b>References : </b></p>
]]></content:encoded>
	</item>
</channel>
</rss>
