It should be the same as the d40. after you set the shutter speed, press and hold the (+/-) button on the top of the camera next to the shutter release. There should be a gray icon next to it showing a picture of an aperture. While you are pressing this, spin the dial left or right to adjust the aperture.
Hope this helps