Question: ( 2 + 2 + 4 + 4 ) In this problem we consider the movement of the knight in a game of chess. If
In this problem we consider the movement of the knight in a game of
chess. If you are unfamiliar with this, please see the reference material for this problem,
Figure The knight we are considering is on the standard chessboard. We
use the standard notation to references the spaces on this board.
For example, a knight located at d can move to any of the spaces, c e f b b
f c e
We may make a graph as follows. The vertices of this graph correspond to the
spaces on the chessboard. Two vertices are connected whenever a knight on one space
may move to the other space. For example we see that there is an edge between
and Use this graph to answer the following questions.
a Use Matlab to make a vertex matrix for this problem. Discuss how you made
your matrix in Matlab. How do you know your matrix is correct?
When you hand in this matrix, give it the name knight and name your file
Qamat. Please be sure to do this exactly as described, otherwise the program
which tests your matrix will not be able to execute and you will be given no credit.
See Lab for details.
b Can a knight that begins on b after a series of moves, end on c If so what is
the minimum number of moves that this would take? Explain.
c For a knight that begins on b is there any space on the board that it cannot
occupy after any series of moves?
More generally, for any starting position is there any position to which a knight
cannot move to from there?
d Let the distance between two spaces on the board relative to a knight's
travel be the minimum number of moves for a knight to move from to
Starting at b which spaces isare the "farthest away" from here?
More generally, what is the largest distance between any two spaces on the chess
board for a knight?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
