Is the value of n_0 in complexity questions precise or flexible?

  • Thread starter Thread starter EvLer
  • Start date Start date
  • Tags Tags
    Complexity
AI Thread Summary
In complexity theory, the value of n_0 in the notation f(n) = O(g(n)) does not need to be a precise point of intersection between cg(n) and f(n). Any point where n > n_0 is sufficient for the definition to hold. The key aspect is that f(n) must be less than or equal to cg(n) beyond this point. Thus, the exact location of n_0 is less critical than ensuring the condition is satisfied. The focus is on the existence of such a point rather than its precision.
EvLer
Messages
454
Reaction score
0
Let's say f(n) = O(g(n)), i.e. f(n) < cg(n) for some n > n_0. Does the n_0 have to be a precise point of intersection of cg(n) and f(n) or just any point for which n > n_0?

Thanks in advance.
 
Physics news on Phys.org
Any such point n_0 is fine.
 


The value of n_0 does not have to be a precise point of intersection between cg(n) and f(n). It can be any point for which n > n_0. The purpose of n_0 is to indicate the point at which f(n) becomes less than or equal to cg(n). As long as this condition is met, the statement f(n) = O(g(n)) holds true. Therefore, the exact location of the intersection is not as important as the fact that it exists and satisfies the condition.
 
Kindly see the attached pdf. My attempt to solve it, is in it. I'm wondering if my solution is right. My idea is this: At any point of time, the ball may be assumed to be at an incline which is at an angle of θ(kindly see both the pics in the pdf file). The value of θ will continuously change and so will the value of friction. I'm not able to figure out, why my solution is wrong, if it is wrong .
TL;DR Summary: I came across this question from a Sri Lankan A-level textbook. Question - An ice cube with a length of 10 cm is immersed in water at 0 °C. An observer observes the ice cube from the water, and it seems to be 7.75 cm long. If the refractive index of water is 4/3, find the height of the ice cube immersed in the water. I could not understand how the apparent height of the ice cube in the water depends on the height of the ice cube immersed in the water. Does anyone have an...

Similar threads

Back
Top