7. Do #13 Assume single suspension.
13. A set of periodic tasks need to be scheduled on a uniprocessor. The following table contains the details of
these periodic tasks and their use of non-preemptable shared resources R1, R2, and R3. Can task $T_3$ meet
its deadline when the tasks are scheduled under RMA and priority ceiling protocol (PCP) is used for resource
scheduling?
\begin{tabular}{|c|c|c|c|c|c|c|}
\hline
Task & $p_i$ & $e_i$ & R1 & R2 & R3 & $s_i$ \\
\hline
$T_1$ & 400 & 30 & 15 & 20 & & 10 \\
$T_2$ & 200 & 25 & - & 20 & 10 & 20 \\
$T_3$ & 300 & 40 & - & - & - & 10 \\
$T_4$ & 250 & 35 & 10 & 10 & 10 & 40 \\
$T_5$ & 450 & 50 & - & - & 5 & 55 \\
\hline
\end{tabular}
$p_i$ indicates the period of task $T_i$, and $e_i$ indicates its computation time. The entries in the R1, R2, and R3
columns indicate the time duration for which a task needs the named resource in non-preemptive mode, $s_i$ is
the self suspension time of task $T_i$. All time units have been specified in milliSeconds.