All Questions
23
questions
1
vote
1
answer
104
views
Plot of a recursive expression having a parameter
I have a recursive expression defined as
$$
h_u= (1-a)(1-b) h_{u-1} + \sum_{k=2}^{u-1} (1-a) b h_{u-1-k} - \sum_{k=2}^{u} h_{u-k} - \sum_{k=1}^{u+1} \Lambda_{u,k}
$$
where $\Lambda_{u,k} = \sum_{m=u-k+...
1
vote
1
answer
74
views
Generate Recursion Tree of Fibonacci Sequence
I'm using this example to study Mathematics.Example Demo. In this example, before generating recursion tree, she flats the function. But I have a difficultly to understand how flatten works, ...
5
votes
3
answers
463
views
2 issues with ListDensityPlot
I am using
Mathematica Version Number 12.0.0.0
Platform: Microsoft Windows (64-bit)
The FIRST issue is that the ListDensityPlot is not plotting values of x[Tfinal] ...
2
votes
1
answer
46
views
Results of recursion grouped in list [closed]
I made a recursion where I should plot resulting points. When I do Print[point1], it just gives me result:
...
1
vote
0
answers
115
views
Getting NSum to go to the right depth in recursive definitions
I wanted to produce some plots of the action of the Gauss shift map on cumulative distribution functions. This means I wanted to plot functions $F_n(x)$, for $0 \leq x \leq 1$, defined by $F_1(x) = x$ ...
3
votes
1
answer
606
views
How to increase the accuracy of a plot
I have the following code below:
...
7
votes
1
answer
190
views
How to generate optimal solution and order the rest
This is a decimal maze, you start with 100 points and you must choose the path that gives you the highest score.
Rule: You should not go twice for the same point and the same segment.
My question: Is ...
9
votes
1
answer
256
views
Mathematica Plot Recursion Accuracy
Mathematica has the neat feature to sample the domain of a plot function adaptively, using recursion on a mesh in the function's domain. The set of initial points is controlled by ...
2
votes
2
answers
202
views
Plotting orbit of a discontinuous map
I'm trying to plot the orbit of a two dymensional discontinuous map. Could you help me please? I tried using Piecewise, but I didn't get the result I wanted. The ...
0
votes
1
answer
85
views
Why can't I plot a recursively defined function without first expanding it? [closed]
I have a recursively-defined sequence of functions, g[t,n], that I cannot seem to plot without first evaluating and then referencing the result. What do I need to do to g to get it to plot correctly?
3
votes
3
answers
343
views
Recurrence relation, DiscretePlot with a variable initial value
Ok, so I'm dealing with a recursive function (you can see it here on MathExchange as I have problems also on the analytic resolution) that I'm trying to solve numerically. The relation is
\begin{...
5
votes
3
answers
277
views
How to plot output data of Do-command?
The following in a simple numerical solution of the simple harmonic oscillator.
...
2
votes
1
answer
209
views
Modifying the opacity of a color to show convergence rate
The program that I am currently working with is designed to create the basins of attraction in the complex plane for functions under Newton's Method. Currently, all points that have the same basin of ...
5
votes
2
answers
460
views
How to plot a bifurcation diagram of a system of recursive formulas in terms of two variables
My group partner and I are having trouble plotting a bifurcation plot of two recursive functions.
Our functions are as follows:
...
2
votes
2
answers
254
views
How could I rewrite my code in professional style?
I reduced my question to the lowest possible for having your ideas:
...