Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Air Density from Temperature and Pressure
The density of air can be estimated from the product of molar mass and molar density:
Write a function that finds the densi...