recategorized by
319 views
2 votes
2 votes

Consider the following three functions defined for all positive integers $n \geq 0$.
\[
\begin{array}{l}
f(n)=|\sin (n)+n|, \\
g(n)=n, \\
h(n)=|\sin (n)| .
\end{array}
\]

Which of the following statements about these functions is / are true?

  1. $f(n)=O(g(n))$
  2. $g(n)=O(f(n))$
  3. $h(n)=O(g(n))$

 

  1. Only $\text{(i)}$ is true.
  2. Only $\text{(ii)}$ is true.
  3. Only $\text{(i)}$ and $\text{(ii)}$ are true.
  4. Only $\text{(ii)}$ and $\text{(iii)}$ are true
  5. All of $\text{(i), (ii)}$, and $\text{(iii)}$ are true.

 

recategorized by

Please log in or register to answer this question.

Answer:

Related questions

300
views
1 answers
2 votes
admin asked Jan 13
300 views
Consider functions $f$ and $g$ from the set of positive real numbers to itself, recursively defined as follows.\[\begin{array}{rrl}\forall n \leq 1 & f(n), g(n) & =1, \\\ ... $g(n)=\Theta(n \log n)$
245
views
1 answers
0 votes
admin asked Jan 13
245 views
Let $\text{S}$ be the set of all $4$ -digit numbers created using just the digits $1,2,3,4,5$ such that no two successive digits are the same. If ... ascending order, what is the $100$ th number in this sequence?$2135$2324$2315$2352$2415$
232
views
1 answers
0 votes
admin asked Jan 13
232 views
For any positive integer $\text{N}$, let $\text{p(N)}$ be the probability that a uniformly random number $a \in\{1, \ldots, N\}$ has an odd number of factors (including 1 ... $p(N)=\Theta\left(\frac{1}{\log N}\right)$.
208
views
1 answers
0 votes
admin asked Jan 13
208 views
For two languages $\text{A, B}$ over the alphabet $\Sigma$, let the perfect shuffle of $\text{A}$ and $\text{B}$ be the language\begin{Bmatrix}w=a_1 b_1 a_2 b_2 \cdots a_k b_k ... $\text{(i), (ii), (iii)}$ is true.