# A function g(x) is defined as shown: what is the value of g(4)? Is it 10, 12, 14 or 16?

\begin{matrix}

2+3x,& & 0\leq x< 4\\

0.5 + 10x,& & 4\leq x< 8\\

16& & x\geq 16

\end{matrix}.

Functions are the backbone of many branches of mathematics including algebra and calculus. There are different kinds of functions which include trigonometric functions, polynomial functions, differential functions, etc.

## Answer: For the given function g(x), The value of g(4) = 12.

Let's understand step by step.

**Explanation:**

From the given function, we see that it is a piecewise function that has different expressions for different intervals.

Hence, we can see that here, g(4) is not defined for the first expression g(x) = 2 + 3x and the third expression g(x) = 16 as the value of x doesn't include the value 4.

Hence, we put the value of x = 4 in the second equation.

⇒ g(x) = 0.5x + 10

⇒ g(4) = 0.5 (4) + 10 = 2 + 10

⇒ g(4) = 12.