ProblemSet5_solutions_Spring2022 (8).R