Sedimentary rock is formed over thousands of years. An example of an enviroment where sedimentary rock is formed is the Grand Canyon. Water from rain and the river along with wind wash away pieces of the canyon walls and float downstream. They go downstream until they come to an area where the water slows or stops and settle to the bottom of the river. Over the course of thousands of years the weight of the sediments settling compacts it into rock.