Each of the following sets spans a subspace of the complex vector space of all functions from $\mathbb C$ to $\mathbb C$. In each case find a basis for the subspace and prove it is a basis; state the dimension
{$\exp(iz); \cos z;\sin z$}
{$\exp(iz); \cosh z;\sinh z$}