I've calculated the slope values of a DEM and created a raster with values from 0 to 51,3 (degree). I wanted to calculate the Cos of these pixel values with the Raster calculator (to calculate in the next step the total area) expecting only positive values (cos(0...90) should be positive) but around 50 percent of the values turned out negative and I can't figure out why.