1

I have a list of formulas, suppose y=x and y=x^2 and y=x^3.

I want to choose one of these formulas randomly in a foreach loop and add random integers or doubles to the left and right side of them.

The finished product will be bunch of different formulas printed with different numbers suppose

2x^2+3

x+4

15+x^3-4

closed as unclear what you're asking by Troy, Sebastiano, Bobyandbob, Phelype Oleinik, Kurt May 15 '18 at 0:48

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to TeX.SE. Which LaTeX format do you use -- pdfLaTeX, XeLaTeX, or LuaLaTeX? – Mico Jan 29 '17 at 9:15

Browse other questions tagged or ask your own question.