1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Recurrsive Definitions

  1. Nov 6, 2008 #1
    b]1. The problem statement, all variables and given/known data[/b]

    Given a0=1 and a1=2, and

    an=3an-1+an-2 for n>=2,

    calculate a5 recursively

    2. Relevant equations

    3. The attempt at a solution

    Last edited: Nov 6, 2008
  2. jcsd
  3. Nov 6, 2008 #2


    User Avatar
    Science Advisor
    Homework Helper

    Right. But isn't it easier to start with a0=1 and a1=2 and work your way up to a5? That way it's just arithmetic, not algebra.
  4. Nov 6, 2008 #3
    Thank you for the proof of my work. That is the way the professor wants us to do it. :smile:
  5. Nov 7, 2008 #4


    User Avatar
    Science Advisor

    Doesn't your professor want you to complete the problem?

    You were told that a0= 1 and a1= 2. The complete answer is NOT "109a1+33a0", it is 109(1)+ 33(2)= 109+ 66= 175.

    I suspect you have misunderstood what your professor wants.
  6. Nov 7, 2008 #5
    I completed. It most important for me that I did it right.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook