We have that O(n²) is the theta notation for 7n² + 4n + 2.
Let's give big-Oh a formal definition:
O(g(n)) = {the set of all f such that 0
f(n)
cg(n) for any n >= n₀ fulfilling positive constants c and n₀}
To show this
We need to find c and n₀ such that:
7n² + 4n + 2 <= cn² for all n >= n₀ .
Divide both sides by n², getting:
7 + 4/n + 2/(n²) <= c for all n >= n₀ .
If we choose n₀ equal to 1, then we need a value of c such that:
7 + 4 + 2 <= c
We can set c equal to 13. Now we have:
7n² + 4n + 2 <= 13n² for all n >= 1 .
Hence, 7n² + 4n + 2=O(n²)
Learn more about Big-Oh notation here-
brainly.com/question/14438669
#SPJ10
x = 3g + 2
- 2 - 2
x - 2 = 3g
÷ 3 ÷ 3
x - 2 ÷ 3 = g
Answer:
48
Step-by-step explanation:
8×3=24×2
l×w×h
hope this helps
Answer:
60 quarts
Step-by-step explanation:
1 pint is equal to half of a quart, so 120 x 0.5 = 60
Answer:
A-1008
B-1708
Step-by-step explanation:
8% of 700= 56
56x18=1008
700+1008=1708