If the US govt prints X amount of money per year is there a way to find out how the value of the dollar will change. Essentially if the value of the dollar is solely a function of how much money is printed, what is the function? 

This question really is not about the US (I just used it as an example), but for any currency in general. Assume that inflation is the only variable that affects the value of the currency. 

EDIT: The value of the dollar using cpi as the metric.
EDIT: The amount of money printed rather than inflation