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.
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...

Similar threads

Back
Top