# Items tagged with recursiverecursive Tagged Items Feed

### Limit of Recursive Sequence

March 21 2013 by Maple

Is there a way to have Maple compute the limit of a recursive sequence? For example, the sequence below

a_n = (a_(n-1) +2)/(a_(n-1) + 3), a_1 =2

is bounded and montonically decreasing, thus has a limit, but Maple is not able to compute the limit. Any ideas?

### recursive assignment

March 12 2013 by

1

3

part of my codes are:
func[1] := (1/2)*(c+s)*x[1]+s*x[3]+(s-c)*x[1]*x[2];func[2] := (1/2)*(c-s)*x[1]+s*x[3]+(s+c)*x[1]*x[2];func[3] := -b*x[2]-x[1]^2;
They are just three ODE , how to fix the error?Where is the so-called recursive assignment...?
The program works well when:
"func[1] := x[2] + (x[1]^2 - x[1]*x[3]);
func[2] := - x[1] +  (x[2]^2 + x[1]*x[4]) + x[2]^3;

### How to apply a recursive rule in an...

January 30 2013 by Maple 13

0

3

Hi guys,

let's say that we have an ugly, massive long expression with high power products of variables for example this:

and we want to reduce the powers of these variables using these rules:

### needed help writing the following recursive...

December 17 2012 by Maple

0

4

Recursive algorithm for finding the sum of the first n odd positive integers.

procedure   odd_sum n: positive integer )

if   n = 1   then   return   1

else   return

### user defined Function

October 29 2012 by Maple 16

0

4

Hello,

1. Is it possible to create a function file in Maple and call the function(file) from the main program(like Matlab?). If yes, please give me an example case.

I want to create a function file which has the general input terms and call the function from another script file without copying/running all the code.

2. Is it possible to run 'recursive function' in maple?

3. How can I create library of my function files?(like in Matlab I can create...

### How to get a recursive sequence

September 11 2012 by Maple

0

2

Hello Maple users,

i'm trying to get a rekursive sequence like this:

If i try to get a term of the sequence >1 I get the this error: "Kernel connection has been lost..."

I tried varios sequences. All with a sum of the preceding terms crash.

### How do I solve recursive assignment?

April 01 2012 by

0

1

I have to solve the following set of equations. But it allways appears the Error "recursive assignment". Has somebody a solution for me? Is there a Problem with the Equations?

DGL1 := m[1]*(D(D(x[1])))(t)+d[1]*((D(x[1]))(t)-(D(x[2]))(t))+c[1]*(x[1](t)-x[2](t))+e^(-0.4e-1*t)*sin(t)+1.5 = 0;
DGL2 := m[2]*(D(D(x[2])))(t)+d[2]*(D(x[2]))(t)+d[1]*(DF[4]-(D(x[2]))(t))+c[2]*(x[2](t)+x[f])+c[1]*(F[4]-x[2](t)) = 0;

init := (D(x[1]))(0) = 0, x[1](0) = 1.5, x[2](0) = 5;