Solution for problem 29
Solution for problem 48
.