Delta-equal to symbol and matrix with dashed lines

How do i write this in latex plz

• welcome to TEXSE, what have to tried so-far? Because, please note that this is not a just-do-it-for-me site. – Raaja Aug 5 '19 at 15:26
• Pls ask only one substantive question per posting. – Mico Aug 5 '19 at 15:35
• Although I answered, you should look symbols up here first: tex.stackexchange.com/questions/14/… – Davislor Aug 5 '19 at 19:53
• As an alternative to the equal with the upper-case delta above it, you may like to use an equal with "def" above it. This is given by the macro \eqdef from package mismath. – murray Aug 5 '19 at 20:43
• And see also: tex.stackexchange.com/questions/12537/… – Davislor Aug 6 '19 at 19:40

You can use

\begin{equation*}
w \overset{\Delta}{=}
\begin{bmatrix}
w^1\\
\verb!---!\\
w^2
\end{bmatrix}
\overset{\Delta}{=}
\begin{bmatrix}
p\\
\verb!-------------!\\
[exp(q_n/\pi)]r^3
\end{bmatrix}
\end{equation*}


to render

\overset places the first argument over the second argument and \verb renders out exactly what its argument is in code form (kind of like the difference between code and text in Stack Exchange!).

Please note that both overset and the bmatrix environment are provided by the amsmath package, so make sure to add \usepackage{amsmath} to your preamble.

In Unicode, ≜ is U+225C. This symbol is \triangleq in amssymb, unicode-math and many other packages.