I heard it first originally as an engineering joke. And also horses instead of cows.
You know you're an engineer when: You'll assume a horse is spherical in order to make a math easier.
Funnier with horses. Horses are less spherical. They way they industrially force feed and force breed cows these days, spherical is actually not that ironic an approximation to make. More sad than funny.