Questions tagged [iteration]
For questions about iteration. Use this tag for questions about the repetitive use of processes, functions and or operators.
202 questions
0 votes
0 answers
157 views
How to syntax products and append each result to a table?
I'm still trying to learn how to code the results of the LHS and RHS of this famous equation into a table: $$\sum_{n=1}^\infty \frac1n=\prod_{i=1}^\infty\frac{1}{1-\frac{1}{p_i}}\tag{A}$$ I asked this ...
1 vote
2 answers
171 views
How to output each summand of $\sum_{n=1}^k \frac1n$ into a list?
From real analysis, I'm trying to learn more about this famous equation in this post of Mathematics.SE: $$\sum_{n=1}^\infty \frac1n=\prod_{i=1}^\infty\frac{1}{1-\frac{1}{p_i}}\tag{1}$$ I won't ask ...
5 votes
1 answer
378 views
Turning the solution from Reduce to a graph
I am trying to make a graph from an arbitrary solution from reduce so that it looks prettier and is more readable. My question is very similar to the question How can I make the output of Reduce more ...
0 votes
1 answer
153 views
Problems with iterative process
The origin of this question is described here, but there are many details, distracting from the main topic. I did not remove the old question so that the interested ones could see the geometrical ...
1 vote
3 answers
255 views
What is the simplest way to write a GeneralizedDo function?
A GeneralizedDo is supposed to thread over multiple iterators: ...
0 votes
0 answers
166 views
Optimizing a While Loop for High-Precision Computation in Mathematica
Edit: Clarifying the Core Issue i=x; While[Abs[p1 - p2] >= p1 tol, p2 = p1; p1 += s *= i (mkn + i)/((k1 - i) (n1 - i)); i--; ]; The core of my ...
7 votes
2 answers
278 views
Iteration Limit for expression involving Gamma functions
But introduced in 13.0 or earlier and fixed in 14.3. I am using an old version (13.0.0 Windows) so this might be a bug that has already been fixed, unfortunately I don't have access to a more recent ...
2 votes
2 answers
80 views
How to fix parameter locally for iterating recursion equations
The following is a simplified version of a more detailed problem. I have two coupled recursion equations of two variables, x and y. One equation also depends on a parameter, c: ...