Solution:
y=
Since we have square root ,So the value under this cannot be negative.
It means 2- ≥ 0 ------------- condition (1)
However at the same time we need to take care that ≥ 0 ------------- condition (2)
So considering both the condition we can say x ≥ 0 and x ≤ 4
Let x=0
y = ⟹ valid number under square root
Let x=1
y = ⟹ valid number under square root
Let x=2
y = ⟹ valid number under square root
Let x=3
y = ⟹ valid number under square root
Let x= 4
y = ⟹ valid number under square root
Now Let x=5
y = ⟹ This gives a negative number under square root
From here(x ≥ 5) each and every value of x will give a negative value under square root
So Domain of function is [0,4]