The derivative of e to the power xn (n belongs to R) What's the derivative of (e ^ xn)

The derivative of e to the power xn (n belongs to R) What's the derivative of (e ^ xn)

Let g (x) = NX (n ∈ R)
∴ g′(x)=n
f′(g(x))=e^(g(x))=e^(nx) (n∈R)
∴f′(x) = ne^(nx) (n∈R)