This question is for an homework. It follows like this :
Let $M$ be an $n$-dimensional manifold. Construct a smooth surjective map from $M$ to the torus $(S^1)^n$.
My first idea was to use the smooth covering map $ \epsilon^n : \mathbb{R}^n \rightarrow (S^1)^n : (x_1 , ..., x_n) \mapsto (e^{2\pi i x_1}, ... , e^{2\pi i x_n})$. In fact, with this and a chart $(U, \phi)$ of $M$ (and then $\phi (U) \cong \mathbb{R}^n$), I wanted $ \epsilon^n \circ \phi$ to be the surjective map I'm looking for. But it doesn't work because it is not defined on $M$ and I dont know how to fix this.
Maybe the solution doesn't need the use of the smooth covering map $\epsilon^n$ but I'm convinced that it's a good start.
Does someone have any ideas to help me? Thank you.