All Questions
14
questions
2
votes
2
answers
46
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:
...
0
votes
1
answer
111
views
Implementing While loop in module that will iterate correctly
I am attempting to write a module that prints an optimal path from a starting node to a destination node. The first node is 1 and the final node is 100 (though when module prints these they should be ...
0
votes
1
answer
78
views
n-dimensional recursion [closed]
I am trying to set up a recursive function that generates n number of differential equations for Subscript[y, n][t]
This ...
1
vote
1
answer
157
views
Iterative and recursive approach to generate Fibonacci sequence
I'm new to use Mathematica and using this demo project to understand Mathematic demo example.
I modified example code to only plot the runtime of recursive version of Fibonacci sequence runtime:
...
1
vote
2
answers
464
views
Chebyshev polynomials
How could I write the Chebyshev polynomial as a function that uses Nest? Also, how could I write it using recursion?
Furthermore, how can I show that $T_n(x)=\...
-2
votes
1
answer
40
views
Nest not giving desired results
I am trying to use Nest to find result using fixed point iteration method, but when I find $g(x)$ and put it in Nest, it doesn't ...
2
votes
1
answer
43
views
Problem with recursive relations
Continuing the topic of my previous questions (link1 and link2), let me ask one more question.
I have problems with the following code:
...
1
vote
0
answers
90
views
Recursion depth of 1024 exceeded during evaluation of ... when importing a directory with many files
I'm doing this:
Import["/Volumes/Transcend2/images/", "*.jpg"];
And getting these errors:
Then, after it's done, when I type "images" and shift+enter, I just ...
5
votes
1
answer
159
views
Recursive nesting with parameter
I would like to apply a function f recursively to an expression expr an arbitrary number of times. However the catch is that <...
2
votes
3
answers
559
views
Sum with variable terms to sum over
Suppose I have a polynomial like this:
$$a=x_{j_1} + x_{j_1}x_{j_2} + x_{j_1}x_{j_2}x_{j_3} + ...+x_{j_1}x_{j_2}x_{j_3}...x_{j_n}$$
I want to create a function that takes this polynomial and does the ...
2
votes
1
answer
356
views
Solving for the recursion relation for the expansion coefficients of the asymptotic expansion of an ODE
I want to solve for the asymptotic solution of the following differential equation
$$ \left(y^2+1\right) R''(y)+y\left(2-p \left(b_{0} \sqrt{y^2+1}\right)^{-p}\right) R'(y)-l (l+1) R(y)=0$$
as $y\...
-1
votes
1
answer
75
views
Is there a way to get values from a set of functions with circular dependencies? [closed]
I am using the following code to find iteratively the functions $\Sigma(r)$, $h(r)$ and $T(r)$
...
10
votes
3
answers
1k
views
Simple Fractal square
I am working on a math question about infinite series, and one of the question images is below.
Each new white square has an area that is 1/4 of the previous square.
Always looking to learn elegant ...
0
votes
2
answers
239
views
Reducing the computation time used by parallel table when finding a fixed point
I am using Intel Core(™) processor, 32 bit operating system, 4GB RAM, Windows 7. I am running the following code and it is taking hours to obtain the result. Can any one help me in improving the codes ...