The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: hi,friends(8)
Replies: 5   Last Post: Sep 26, 2008 6:03 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1,416
Registered: 4/8/06
Re: hi,friends(8)
Posted: Sep 22, 2008 7:08 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

China -->hk wrote:
> hi,friends:
> Can we use Mathematica to solve the following recurrence function problem?
> f[1,1]=1,f[m,n+1]=f[m,n]+2,f[m+1,n]=2*f[m,n],m,n are positive integers.f[m,n]=?
> thanks,

Recurrence equations can be solved with RSolve, but there is a little
problem with your set of equations:

f[1,1] = 1
f[1,2] = f[1,1] + 2 = 3
f[2,2] = 2*f[1,2] = 6

f[1,1] = 1
f[2,1] = 2*f[1,1] = 2
f[2,2] = f[2,1] + 2 = 4

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.