We study the entropy of extremal four dimensional black holes and five
dimensional black holes and black rings is a unified framework using Sen's
entropy function and dimensional reduction. The five dimensional black holes
and black rings we consider project down to either static or stationary black
holes in four dimensions. The analysis is done in the context of two derivative
gravity coupled to abelian gauge fields and neutral scalar fields. We apply
this formalism to various examples including U(1)3 minimal supergravity.Comment: 29 pages, 2 figures, revised version for publication, details adde