# Questions tagged [iteration]

The tag has no usage guidance.

24 questions
Filter by
Sorted by
Tagged with
164 views

### How can I solve iteratively for $\Sigma(r)$, T(r) and h(r)?

My naive attempt: ...
• 6,757
160 views

### Mathematica does not show anything after running for higher iterations

Consider a BVP: $y^{\prime\prime}=\frac{3}{2}y(t)^{2}$ with the boundary conditions $y(0)=4$ and $y(1)=1$. The exact solution is $y(t)=\frac{4}{(1+t)^{2}}$ and the initial guess is $y(t)=4-3t$. Now I ...
• 161
121 views

### Symbolic nest expressions

I'm trying to understand how to use symbolic expressions as arguments. The following example represents my problem: ...
• 153
137 views

### Solve integral equation by iteration

For[{n = 1, y[0][x_] = 1}, n < 4, n++, y[n][x_] = 1 + Integrate[y[n - 1][t]^2 + t^2, {t, 0, x}]; Print[{n, y[n][t]}]] here how can I get table of values ...
396 views

### Reproduce the annulus fractal

I've made some attempts, but I don't know how to set the color and thickness of the circle. ...
• 243
1k views

### Simple Birth Death Process

I am trying to implement simple birth death process. Why my code does not work? Any suggestion. Thanks. Cross posted http://community.wolfram.com/groups/-/m/t/1205656 ...
• 10.9k
452 views

### How can I iterate this process?

a = RandomVariate[UniformDistribution[{0, 1}]]; b = RandomVariate[UniformDistribution[{0, 1}]]; c = RandomVariate[UniformDistribution[{0, 1}]]; a + a b + a b c ...
• 867
371 views

...
• 4,996
133 views

### Iterative comparison between different vectors

I have some soccer outcomes for each league round to import in a data form similar to that: ...
• 401
586 views

### two tier compound interest problem

I am trying to make sense of how mortgage repayment figures are calculated for two tier mortgages, where you fix your interest rate for a certain period and after that period, you fall back to the SVR ...
• 701
130 views

### Solving an integral vectorial equation by iterations

I'm triying to solve a problem like the following: $$\binom{f(t)}{g(t)}=\binom{f_0(t)}{g_0(t)}+\lambda\int_0^t ds\hat{A}(s)\binom{f(s)}{g(s)},$$ where $f_0(t),g_0(t)$ and $\hat{A}(t)$ (a $2\times2$ ...
• 491
230 views

1 vote
70 views

### How do I construct and plot functions properly using NestList?

I am trying to construct a function using NestList and plot the values. Although the individually used and defined functions in my notebook seem to do the right ...
1 vote
87 views

### Plotting iterates of a piecewise defined map

This is a follow up question to the one I asked here. I’ve succeeded in figuring out how to plot the first image of my piecewise defined transformation $T: [-1,1]^2 \to [-1,1]^2$, but now I want to ...
• 125
1 vote
139 views

### Generating a $N^{th}$ iterative line graph from the adjacency matrix $M$. How to generate $M$?

I have a unit cell, and I would like to generate a lattice but in iterative order. For instance, consider the following example-- The unit cell is (zero iteration) This figure is generated by a ...
• 683
1 vote
116 views

### How to find the minimum at each iteration?

I would like to iterate the table for {Q,0,3,1}, {R0,1,5,1}, the values of m=[3.83171, 7.01559, 10.1735, 13.3237, 16.4706, 19.6159, 22.7601, 25.9037] and calculate the corresponding k and Ra. Also, I ...
• 413
1 vote
105 views

### FoldList with Composition and parameter

Good day to everyone! I have two (just for simple example) functions and they compose a map: ...
• 99
1 vote
163 views

### In an iterative process, how does one simply bypass a step producing an error? [closed]

This is undoubtedly rather elementary, but the remedy escapes me presently (and does not, as far as I can see, readily appear in Help). I'm engaged in an iterative process with several computations ...
• 2,335
1 vote
141 views

### Create a new matrix from an existing matrix and then plot it

I have some code will test an equation and finds values for (n,j,k,l) in which the expression is true and puts them in the matrix - here is the code. ...
• 101
57 views

### Iterating over a list and defining the range accordingly

I have the following list, l = {{"a", "b"}, {"a", "b"}, {"c", "d"}, {"e", "f"}, {"e", "f"}, {"x", "y", "z"}, {"m", "n", "o"}, {"p", "q", "s"}}; for each ...
• 3,096
51 views

### Nest expressions of several arguments

I have the following function: Q[r_, f_, s0_] := Q[r, f, s0] = F[r, s0] D[f[s0], s0] By calling Q[r, Q[r, f, s0], s0] I ...
• 153