3.9979(depends on what place you need to round to
The equation is V=πr2h. First plug in what you know, 314=π5^2h. 5x5=25 and its multiplied with π. It would look like 314=25πh. Divide the 25π by both sides, leaving your h. Plug it into your calculator.
Check answer:
(I rounded the 4 to the nearest whole number) 4*25*π is approximately 314