Qu 01: Model the following situations as (possibly weighted, possibly directed) graphs. Draw each graph, and give the corresponding adjacency matrices.
(i) Rokey and Jane are friends. Rokey is also friends with Kevin and Ferdy. Jane ,Kevin and kanny are all friends of each other.
Adjacency matrix:
"\\begin{pmatrix}\n 0 & 1&0&1&1 \\\\\n 1 & 0&1&0&1\\\\\n 0 & 1&0&0&1\\\\\n 0 & 0&0&0&0\\\\\n 0 & 1&1&0&0\n\\end{pmatrix}"
Comments
Leave a comment