Answer :
To determine the range for the function for the domain given we need to plug each value in the domain into the expression for the function:
For x=-1 we have:
[tex]\begin{gathered} y=3(-1)+1 \\ y=-3+1 \\ y=-2 \end{gathered}[/tex]For x=0 we have:
[tex]\begin{gathered} y=3(0)+1 \\ y=0+1 \\ y=1 \end{gathered}[/tex]For x=1 we have:
[tex]\begin{gathered} y=3(1)+1 \\ y=3+1 \\ y=4 \end{gathered}[/tex]For x=4 we have:
[tex]\begin{gathered} y=3(4)+1 \\ y=12+1 \\ y=13 \end{gathered}[/tex]Therefore, the range of the function for the given domain is:
[tex]\text{range}=\lbrace-2,1,4,13\rbrace[/tex]