Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 18th, 2010 | Syntax: MySQL | Size: 0.99 KB | Hits: 61 | Expires: Never
Copy text to clipboard
  1. Note: A is equivalent to your aa matrix; K is equivalent to your kk matrix
  2.  
  3. A = (remains same in all iterations for same N)
  4.  
  5.     2.0000   -0.5000         0         0
  6.    -0.5000    2.0000   -0.5000         0
  7.          0   -0.5000    2.0000   -0.5000
  8.          0         0   -0.5000    2.0000
  9. --------------------------------------------------------
  10.  
  11. K = (after 5 iterations)
  12.  
  13.     0.1376
  14.     0.2996
  15.     0.4988
  16.     1.2378
  17.  
  18. K = (after 4 iterations)
  19.  
  20.     0.1094
  21.     0.2507
  22.     0.4525
  23.     1.2069
  24.  
  25. K = (after 3 iterations)
  26.  
  27.     0.0658
  28.     0.1868
  29.     0.3752
  30.     1.1656
  31.  
  32. K = (after 2 iterations)
  33.  
  34.     0.0191
  35.     0.0766
  36.     0.2871
  37.     1.0718
  38.  
  39. K = (after 1 iteration)
  40.  
  41.          0
  42.          0
  43.          0
  44.     1.0000
  45. ------------------------------------------------------
  46.  
  47.         V       Y
  48.       0.0000        0.0000
  49.       0.1477        0.2000
  50.       0.3155        0.4000
  51.       0.5152        0.6000
  52.       0.7477        0.8000
  53.       1.0000        1.0000
  54.        
  55. Computation Time
  56.  5.8586e+000s