MachSpeedCalc on RubyForge
By chris on January 19th 2008 in /dev/ruby | 786 views
My Mach speed calculation Ruby library is finally up on RubyForge: machspeedcalc. It provides means to convert between Km/h and Mach and Miles/h and Mach (and vice versa) like so:
=> m = MachSpeedCalulator.new
=> mach_speed = m.kmh_to_mach( 120, 25 )
=> 0.0962977998319029
A bit esoteric, this I realize, but I had a need.
As this lib is only one file I haven’t packaged it at all. Jump to the Svn repo here.
