To solve this question, we need to substitute the value of x in the function. In this way, we have that:
[tex]f(x)=3x+2\Rightarrow f(5)=3\cdot5+2\Rightarrow f(5)=15+2\Rightarrow f(5)=17[/tex]Therefore, the value of the function when x = 5 is 17, or f(5) = 17.