I'm doing example 2.1 in Griffith's Electrodynamics book. Can someone explain where the cos(theta) comes from in the formula for dE? The formula is on the first image: Here.