I just need question #5 part a), b), c), and part d) done. I already wrote a code for all parts, so I do not think going over $28 for this assignment is necessary since most of it is done.My code is attached to pdf in MyCode_for#5 file. I also attached question 5 in a …