I want to show that the function
$$ g = \begin{cases} 0, \quad \text{if } x \le 0, \\ e^{-\frac{1}{x^2}}, \quad \text{if } x > 0, \end{cases} $$ is infinitely differentiable at $0$ and that all derivative vanishes: $g^{(n)}(0) = 0$.
I was having trouble expanding the function into its Taylor expansion. Any help is appeciated!