SE250:lab-X:twon069

From Marks Wiki
Revision as of 05:20, 3 November 2008 by Mark (Sọ̀rọ̀ | contribs) (7 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Last Symphony

And so it begins...

Task1

  • Number of states = 9!
  • Number of edges, ie the number of legal moves any blocks or space can take
    • 2 possible movement from edges, there are 4 edges
    • 3 possible movement from sides, there are 4 sides
    • 4 possible movement from center, there are 1 center
    • 2*4+3*4+4*1 = 24 number of movement available for the space
    • Since there are 9 square, the "average" movement available for each square will be 24/9 = 2.66
    • The number of moves the 9 squares can take will then be the number of states multiply by the "average" moment available for each square
    • ie 9!*2.66

Task2

hmm.. rather complicated...

Task3

http://img408.imageshack.us/img408/3259/123zm4.jpg

Task4

PROBLEM Weren't sure how to run the files....