Ask your own question, for FREE!
Mathematics 11 Online
OpenStudy (lgbasallote):

Who knows how to use (and explain) the so-called "Big Oh"?

OpenStudy (anonymous):

I will assume u don't want me to bore u with that...:-)

OpenStudy (lgbasallote):

.....you scare me......

OpenStudy (anonymous):

http://en.wikipedia.org/wiki/Big_O_notation#Example

OpenStudy (lgbasallote):

...right...

OpenStudy (lgbasallote):

you found a scarier answerer than you...

OpenStudy (anonymous):

That's a simple example, not scary at all (bit like limits in math)

OpenStudy (lgbasallote):

i hate math....

OpenStudy (lgbasallote):

all i know is that Big Oh is used to measure algorithms...what i don't know is how

OpenStudy (anonymous):

U know what linear, quadratic and exponential are already.......

OpenStudy (lgbasallote):

somehow....i manage...

OpenStudy (anonymous):

Well, let's do the example together, u tell me what u don't get and we go from there...

OpenStudy (lgbasallote):

honestly....i have no idea about it...unlike most of my questions where i know what i'm doing....i only know introduction to this part...which is it is used to measure algorithms

OpenStudy (anonymous):

the efficiency of algorithms....

OpenStudy (lgbasallote):

and by that you mean....?

OpenStudy (anonymous):

You can take an algorithm and calculate (count) how many steps it will take for a given input.....

OpenStudy (lgbasallote):

and big oh measures that?

OpenStudy (anonymous):

Yes, the basic division is like I said before, linear quadratic and exponential (there are some others, logarithmic etc)

OpenStudy (lgbasallote):

interesting

OpenStudy (anonymous):

So, you find that the number of steps for input n is given by 4n^2 -2n +2 Then as n becomes larger, the n^2 term dominates...it is quadratic growth.

OpenStudy (anonymous):

Call the function T(n) T(n) is O(n^2)

OpenStudy (lgbasallote):

how do you use big oh then? is it something like programming?

OpenStudy (lgbasallote):

by that i mean if it's a code

OpenStudy (anonymous):

I just did use it, it's a way of describing a function, a notation for that.....

OpenStudy (anonymous):

The limiting behaviour of a function.

OpenStudy (lgbasallote):

i meant if it's written *with* the code (say C program)

OpenStudy (anonymous):

No, it's not. U would use Big O (and little o) to talk about the code

OpenStudy (anonymous):

This particular area is called algorithmic complexity...

OpenStudy (lgbasallote):

oh. so big oh is written with the algorithm?

OpenStudy (anonymous):

No, the algorithm does not depend on big O in any way. The people who analyze the algorithm for efficiency (perhaps also the programmer, depends on the scale) will use big O to describe the efficiency.

OpenStudy (lgbasallote):

i suppose only way to fully understand is to see it for myself

OpenStudy (anonymous):

Read the article, like most Wikipedia articles, it looks a lot worse than it actually is because of the encyclopedic writing style.

OpenStudy (lgbasallote):

that was what i said earlier...

OpenStudy (anonymous):

OK, try this instead (to start with) http://en.wikipedia.org/wiki/Time_complexity#Table_of_common_time_complexities

OpenStudy (lgbasallote):

i'd rather just understand its introduction for now....

OpenStudy (anonymous):

I gave u the table because there are some algorithms there u might know eg binary search, bubble sort

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!