I would like to prove that the map $f:B^n\to S^n$ given by $x\mapsto \cos(\pi \Vert x\Vert)u+\sin(\pi \Vert x\Vert)\frac{x}{\Vert x\Vert}$ is surjective? Where $u=(0,\cdots,1)$ and $B^n=\{x\in \Bbb{R}^n: \Vert x\Vert\le 1\}$ and $S^{n-1}=\{x\in \Bbb{R}^n: \Vert x\Vert= 1\}$.
Of course I look at $B^n=\{(x_1,\cdots,x_n,0):\sum x_i^2\le 1\}\subset \Bbb{R}^{n+1}$
The context is to prove that $B^n/S^{n-1}$ is homeomorphic to $B^n$.
After thinking a lot, I tried the following function. Everything is "fine", it's continuous and $f(S^{n-1})=\{-u\}$, so I get the result using some theorems.
But I forgot to prove that $f$ is actually surjective; not sure how can I do that.