The History of Sines and Some Useful Applications