I need help with this problem. Answer in interval notation please.

Given:
a graph of the function y = x^2 is given.
Find:
we have to find its domain and range.
Explanation:
Since x can be any real number, so the domain of the function y=f(x)=x^2 is Set of Real Number(R) i.e.
[tex](-\infty,\infty)[/tex]And, since y is always positive for any real value of x, so range of y = f(x) = x^2 is positive Real Number, i.e.
[tex][0,\infty)[/tex]Conclusion:
Therefore, Domain of the given graph is (-infinity,infinity) and range is [0,infinity).