add tag
Laurenso
I have a list sets  `{{1,2,-3},{1,3,-4},{2,-3,-2}}` How can I convert that list into a list of equations  `{{x^2 + 2x - 3 = 0}, {x^2 + 3 x - 4=0},{2x^2-3x-2=0}}`?
```
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\begin{document}
	I have a list
	\[  {\{1,2,-3\},\{1,3,-4\},\{2,-3,-2\}}\]
How can I convert to list of equation
\[ {{x^2 + 2x - 3 = 0},{x^2 + 3 x - 4=0},{2x^2-3x-2=0}} \]
\end{document}
```
Top Answer
samcarter
You could use a combination of the `polynomial` and `pgffor` packages:

```
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{pgffor}

\usepackage{polynomial}

\begin{document}

  \foreach \set in {{1,2,-3},{1,3,-4},{2,-3,-2}}{
    \[\polynomial[reciprocal]{\set}=0\]
  }

\end{document}
```

![Screenshot 2023-04-29 at 22.00.04.png](/image?hash=25c8c070672214fa8f2aba6cac99da6e0c75e7a9287d5b1cf26b6a3fa86c4bf3)

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.