Lab 4: Aspect, slope and hillshading

Problem 1: Compute the hillshade value for the center cell with the following 3x3 elevation window:

Problem 2: Write code to compute the aspect, slope and hillshading for an elevation grid, and render them as bitmap files.