A machine consists of two wheels whose rims meet at a point such that smaller wheel turns the larger wheel. Assuming no loss in the transfer of motion, the larger wheel turns at a rate of 10 revolutions per minute when the smaller wheel turns at a rate of 50 revolutions per minute. If the radius of the smaller wheel is 3 inches, what is the diameter of the larger wheel?