Find the range of the function
\[f(x) = \sqrt{x^2 - 10x + 34} - \sqrt{x^2 + 4}.\]
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Find the range of the function
\[f(x) = \sqrt{x^2 - 10x + 34} - \sqrt{x^2 + 4}.\]
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
(-5,\sqrt{26}]
Find the range of the function
\[f(x) = \sqrt{x^2 - 10x + 34} - \sqrt{x^2 + 4}.\]
train