The range of the function $f(x)$ is $[-3,5].$  Let $g(x) = [f(x)]^2.$  Find the range of the function $g(x).$
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
The range of the function $f(x)$ is $[-3,5].$  Let $g(x) = [f(x)]^2.$  Find the range of the function $g(x).$
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
[0,25]
The range of the function $f(x)$ is $[-3,5].$  Let $g(x) = [f(x)]^2.$  Find the range of the function $g(x).$
train