Complex sine and cosine functions

The sine and cosine functions are usually defined as real-valued functions, but it is possible to extend their definition to cover the…