Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Math Help How many seconds from my turn am I
Message
From
22/02/2013 11:56:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Math Help How many seconds from my turn am I
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01566768
Message ID:
01566768
Views:
114
Any math experts that can validate this (Just like the old school questions)?

A mile has 5,280 feet, and an hour has 3,600 seconds, so 60 miles per hour is:
60 x 5,280 / 3,600 = 88 fps
(60 mph = 88 fps )

How to determine how many seconds from your destination you are (example driving in a car and you are 1500' from your next turn):

1. Determine distance to travel (1500 feet)
2. Determine speed
3. Determine feet per second
4. Determine how many seconds from the destination you are

Let’s say you are 1500 feet from your turn and you are going 30 mph. You want to be notified 7 seconds from the turn.
30 x 5280 / 3600 = 44 feet per second
1500 feet / 44 feet per second = you are 34.090909 seconds from the turn

I can process this every second until I am 7 seconds out. Is that the best method (assuming you could speed up or slow down it would need to be checked/computed every second)

Looks right to me, but can anyone verify that is accurate?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Next
Reply
Map
View

Click here to load this message in the networking platform