ASK - ANSWER - COMMENT - VOTE

MathsGee is Zero-Rated (You do not need data to access) on: Telkom |Dimension Data | Rain | MWEB

1 like 0 dislike
8 views
What is the value of $f(n)$ when $n=16$?

$f(n) = \begin{cases} n/2 & \quad \text{if } n \text{ is even}\\ -(n+1)/2 & \quad \text{if } n \text{ is odd} \end{cases}$
| 8 views

0 like 0 dislike

Explanation

Since $n=16$ is even then according to the cases in the function the value of $f(n)$ is $\dfrac{n}{2}$

Substituting

$f(n) = \begin{cases} n/2 & \quad \text{if } n \text{ is even}\\ -(n+1)/2 & \quad \text{if } n \text{ is odd} \end{cases}$

gives

$f(n)= \dfrac{16}{2} = 8$

by Diamond (74,866 points)

0 like 0 dislike