2 years ago

#29207

test-img

Stealth Frosch

How can I solve an equation with two changing variables in Mathematica?

I want to solve an equation for one value x and many values y. However, x should also change after a certain number of runs of y. I was thinking of a nested for-loop, as I am still relatively new to Mathematica. My idea was something like this:

For[i = 0, i < 4, i++, For[j = 5, j < 10, j++, Print[i + j]]]

Except that print, of course, is the equation. But I am of course open to better solutions. I hope I was able to express myself halfway understandably, as English is not my mother tongue.

nested

wolfram-mathematica

wolframalpha

wolfram-language

0 Answers

Your Answer

Accepted video resources