IAI CT4 Dec 1028 Q3

Discussion in 'CS2' started by Srijana Raghunath, Apr 15, 2020.

  1. 1.PNG 2.PNG
    Why are the values of c and d given as 5 and 7?
     
  2. Andrew Martin

    Andrew Martin ActEd Tutor Staff Member

    Hello

    Page 4 of the Tables gives the general solution to a difference equation of this form. As we have:

    \( \rho _k = 12/35 * \rho_{k-1} - 1/35 * \rho _{k-2} \)

    We first need to solve the quadratic equation:

    \( 1 * \lambda ^ 2 - 12/35 * \lambda + 1/35 = 0 \)

    This gives roots of \( 1/5 \) and \( 1/7 \).

    So, the general solution is:

    \( A * (1/5) ^ k + B * (1/7)^k \)

    Hope this helps.

    Andy
     
  3. oh..OK. Thank You.
     

Share This Page