I am starting to learn about étale cohomology and would like to compute a simple example. Let $k$ be a field with a fixed separable extension $k^s.$ I want to compute $H^1( \operatorname{Spec}(k), \mu_n)$ (I am speaking about the étale cohomology groups)
Here is what I tried:
$\bullet \quad H^1( \operatorname{Spec}(k), \mu_n)$
According this question here, we have an isomorphism $H^1( \operatorname{Gal}(k^s|k),A) \simeq H^1( \operatorname{Spec}(k),\mu_n),$ where the cohomology on left hand side is Galois cohomology and $A = \varinjlim_{L|k} \mu_n(L)$ with $L$ running through the Galois extensions of $k$. Then, if I am not mistaken, we have $A= \mu_n(k^s)$ and it follows (explained in detail in Serre's book) that $H^1( \operatorname{Gal}(k^s|k),\mu_n(k^s))= (k^s)^{\times}/ \mathord{{(k^s)^{\times}}^n}.$
I think this is right, but again I am just beginning with this and perhaps I may have overlooked something and there is something wrong with my reasoning.
$\bullet \quad H^1(\operatorname{Spec}(k), \underline{\mathbb{Z}/\mathord{n \mathbb{Z}}})$
Here $\underline{\mathbb{Z}/ \mathord{n \mathbb{Z}}}$ is the constant sheaf associated to $\mathbb{Z}/ \mathord{n \mathbb{Z}}$ and $k$ is a field with characteristic prime to $n.$
Following the same line of reasoning yields $H^1( \operatorname{Gal}(k^s|k), \underline{\mathbb{Z}/ \mathord{n \mathbb{Z}}}(k^s)).$ Now, when $k$ is a perfect field, we have $k^s= \bar{k}$ and under algebraically closed fields the sheaves $\mu_n$ and $\mathbb{Z}/ \mathord{n \mathbb{Z}}$ coincide. However, if we don't have the guarantee that $\mathbb{Z}/ \mathord{n \mathbb{Z}}$ I am not sure how to proceed.
My field theory is a bit rusty, is it true that for any $n$-th root of unity of $k$ is a separable element over $k.$ If so then can I proceed as above?
What if the characteristic is not prime to $n$. Is there a general method to compute $H^1(\operatorname{Spec}(k), \underline{\mathbb{Z}/ \mathord{n \mathbb{Z}}})$