Linked Questions

0 votes
1 answer

Memoization Involving More than one Variable [duplicate]

Good morning. I would like to know if there is a way to implement memoization if there is more than one variable involved in the memoization; or more accurately, for my problem, have the memoization ...
Eleven-Eleven's user avatar
56 votes
5 answers

How can I implement dynamic programming for a function with more than one argument?

Dynamic programming is a technique for avoiding the repeated computation of the same values in a recursive program. Each value computed is immediately stored. If the value is needed again, it is not ...
J. M.'s missing motivation's user avatar
13 votes
3 answers

Can Mathematica find an expression for the distribution of the median of N i.i.d. random variables?

I posted this question on Math, but there has been silence there since. So, I wonder if anyone here can get any closer to the answer to my question using Mathematica. Here is the question: Suppose I ...
user120911's user avatar
  • 2,675
5 votes
4 answers

Recursive function, if and which statements

I am given this question: Let a function $ T_n(x) $ be defined by: $$ T_{n+1}(x) = \frac{1}{x} T_{n-1}(x) - \frac{2}{7} T_n(x), $$ where $ T_0(x) = 1, T_1(x) = x $. I need to construct a recursive ...
12345's user avatar
  • 199
6 votes
1 answer

Numerically solving a multivariable integro-differential equation

I have an integro-differential equation of the form, $$\small\frac{\partial f(x,t)}{\partial t}=\int_{-5}^5 |x-y|\,f\left(-\frac{x}{3}+\frac{4y}{3},t\right)\,f\left(\frac{2x}{3}+\frac{y}{3},t\right)\,...
S P Krishna Phanindra's user avatar
0 votes
3 answers

How to compute higher iterations in mathemtica

I have the equation $u^{\prime\prime}(t)+u^{2}(t)-t^{4}-2=0$ such that $0\leq t\leq 1$and also I have $u(0)=0$ as well as $u(1)=1$. Noe the exact solution of the equation is $u(t)=t^{2}$. Now I ...
Junaid's user avatar
  • 161
5 votes
2 answers

Defining a new wavelet (Fibonacci wavelet)

I want to define a new wavelet (Fibonacci wavelet) in the reference. So, I read the tutorial on Wolfram Site, @Jason B. ' s answer, and also @Sektor 's answers. But I still have some problems in my ...
1_student's user avatar
  • 635
0 votes
2 answers

Deriving an integral reduction formula programmatically

There are a number of integral reduction formulas from basic calculus, including several involving trigonometric or exponential functions. These are of the form where some term in an integrand is ...
David G. Stork's user avatar
2 votes
1 answer

Recursive computation of symbolic series

I don't have experience in Mathematica and I would like to use the ability it has to do symbolic computations to find the terms of a series of functions recursively. The terms I want to find are given ...
Albert's user avatar
  • 51
1 vote
2 answers

How to compute a multi-round convolution? [duplicate]

I am trying to do a n-round of convolution of a function. The code is posted as below. But it is not working. Is there a solution? ...
Hans's user avatar
  • 179
0 votes
1 answer

Finite result under "Integrate" while infinite under "NIntegrate" of a complicated integral with "NSum"

I have been trying to compute the following complicated integral along with summation, details codes/function of which is given below: ...
R. Bhattacharya's user avatar