[Tex/LaTex] System of equations

equationsmath-mode

I am a beginner in Latex and I would like to know how I can write this system of equations

enter image description here

But I don't know how.

I have tried this code:

\documentclass{article}
\usepackage{mathtools}
\usepackage{nccmath}
\begin{equation}
\centering
\left\{\begin{split}
\mfrac{k_{i\omega}}{k_{p\omega}} &=2\pi \times 10 \\
|\mfrac{(k_{p\omega}s + k_{i\omega})}{s}.\mfrac{1}{(T s + 1)}| &= 1 \\ 
\end{split}\right.
 \end{equation}
 \end{document}

But I couldn't get the absolute value symbol as shown in the figure above and also I couldn't display the s=jw under the absolute value symbol and also the equations aren't aligned

Best Answer

A solution using the cases environment:

\documentclass[]{article}

\usepackage{amsmath}

\begin{document}
\begin{equation}
    \begin{cases}
      k_{i\omega}/k_{p\omega}=2\pi\times 10\\
      \left\lvert\frac{k_{p\omega}s+k_{i\omega}}{s}\cdot\frac{1}{Ts+1}\right\rvert_{S=\mathrm{j}\cdot2\pi}=1
    \end{cases}\,.
\end{equation}
\end{document}

enter image description here