I would like to write the explanation of symbols on the same line of the equation.

I would like to see something like this:

```
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tasks}
\usepackage{amsmath}
\begin{document}
\begin{equation}
K_0 = \frac{\sum x}{n} && \text{where, $x_i$ - raw yaw angle at idle state} \label{eq:2} \\
\text{$n$ - total number of measurements}
\end{equation}
\end{document}
```

## Best Answer

I generally would not add that as a part of the equation as there is often limited space available. If you insist, you could do something like