(b) & (c) Code

The code can be found in the mail attachement

(d) Comparaison between analytical solution and the Monte-Carlo method

The error of the view factor diminisches with the number of energy bundles as can be seen for a simulation in Figure \ref{945423}