Calculate the v vector, find the final v and if the current state is safe
Given the matrices C and A, and the vector R, calculate the V vector, and run the Banker’s algorithm to determine: (a) the final value of the V vector, and (b) if the current state is a safe state.
C=
1 1 1 1 2 3 3 9 3 3 4 1 2 1 2
1 0 1 0 1. 1 0 1 0 3 1 1 1 0 2 2
R= [3 6 5 7]
An questions are all-or-nothing.