aspose file tools*
The moose likes Programming Diversions and the fly likes Average Speed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "Average Speed" Watch "Average Speed" New topic
Author

Average Speed

Sameer Jamal
Ranch Hand

Joined: Feb 16, 2001
Posts: 1870
It was a long drive. I drove 60 miles at 30 miles per hour and then an additional 60 miles at 50 miles per hour. What was my average speed over the 120 miles.
Jayesh Lalwani
Ranch Hand

Joined: Nov 05, 2004
Posts: 502
Is this a homework for your kid, or is there a trick that I'm missing/

60 miles at 30mph will take 2 hrs
60 miles at 50mph will take 1.2 hrs

total time = 3.2 hrs

average speed = 120/3.2 = 37.5mph
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Average Speed
 
Similar Threads
Is it a wise decision for a married guy to go to US on a H1-B
How many miles do you drive to work?
Is Pakistan planning for another Kargil (War)?
IT Consulting rate
Speedway Trials