Tut 2 answers


MC code

FH code

(Plotting code - FYI)

Plot of the chi^2 PDF

Plot of the chi^2 survival function

Proofs

Answers