github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

senorprogrammer / mach_speed_calc

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A Mach speed calculator class for Ruby. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Removed .DS_Store (to pull it from github 
senorprogrammer (author)
Tue Dec 30 14:46:54 -0800 2008
commit  489418761e6a47ecd5d9da8e31f4a46f245c0608
tree    7278aa68f4d3fa65fe326a2498eb55259955360c
parent  9c929f0e72121b7eb6133e2af9af7d4a9fe7a5e5
mach_speed_calc /
name age
history
message
file .git_ignore Loading commit data...
file README
directory doc/
file mach_speed_calc.rb
README
Convert between Km/h or Miles/h and Mach speeds
 
  Copyright (c) 2007 Chris Cummer
    chris@postal-code.com
    
    This library is free software (as in beer and in speech); you may redistribute it and/or modify it
    under the same terms as the ruby language itself, see the file COPYING for details.


    Mach Number:
    
      Ratio of true airspeed to speed of sound in surrounding fluid (which varies as square 
      root of absolute temperature). Mach 1 equals the speed of sound, which is 340.294 meters 
      per second or 761.59 mph at sea level.
    
      The Mach number depends on the speed of sound in the gas and the speed of sound depends 
      on the type of gas and the temperature of the gas.
    
      For the purposes of this class the gas is assumed to be common air.
    
    Usage:
    
      m = MachSpeedCalulator.new
      ms = m.kmh_to_mach( 120, 25 )
      => 0.0962977998319029
      
      km = m.mach_to_kmh( 0.0962977998319029, 25 )
      => 120.0
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server