i need help understand my math so when finding the volume of a cylinder with a 10 inches in diameter and a 10 inches high while using this formula V=3.1.4*r^2*h why is there a five should it not be 10

V=3.1.4*5^2*10