An open API service indexing awesome lists of open source software.

https://github.com/senorprogrammer/machspeedconverter

Mach speed conversion libraries in many different languages.
https://github.com/senorprogrammer/machspeedconverter

Last synced: about 1 year ago
JSON representation

Mach speed conversion libraries in many different languages.

Awesome Lists containing this project

README

          

# MachSpeedCalc

Convert between Km/h or Miles/h and Mach speeds in different programming languages.

## 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 software the gas is assumed to be common air.

Default air temperature is the global average temperature at ground level.

## Crystal

`crystal ./test.cr`

## Go

```
go run main.go
```

## Haskell

```
ghc ./mach_speed.hs
./mach_speed
```

## Ruby

`ruby ./test.rb`

## Rust

```
rustc ./main.rs -o mach_speed
./mach_speed
```

## Swift

`swift ./mach_speed.swift`