You are not logged in.

They will all be continued in the computer math thread.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline

Yes,I saw that. What will we do here then?
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline

I think there are many outstanding problems in this thread.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline

Like what?
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline

Post #401 for instance.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline

Axam,ok. I will try that as soon as I can.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline

Okay, let me know if you get stuck.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline

Hi bobbym
Can you tell me examples of algorithms that are O((n!)^(n!)), O(sin(n)), O(cos(n)), O(sqrt(n)), O(n^(1/n))?
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline

Hi;
Offhand? No, I can not.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline

Can you construct such algorithms?
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline

O(sin(n))? What is that?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline

Maybe a better one would be O(abs(sin(x))).
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline

Why would we not just pick the maximum value and say O(1)?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline

Because it is faster than O(1).
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline

|sin(n)| can take any value between 0 and 1. Isn't that less than some constant? Isn't that constant 1?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline

Yes. But that doesn't give us an algorithm with complexity |sin(n)|.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline

What I am saying is I do not know what that means. I know what O(n) means and O(n^2) but what does O(|sin(n)|) mean for an algorithm?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline

It could mean that the number of operations oscilates as the largeness of input goes up.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline

Personally, I have never seen that. I am not an expert on Landau notation. Have you?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline

No. I thought maybe you would know.
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline

Remember the chart they give you on the various Big(O)'s? That is about all I can deal with.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline

So nothing on sin and cos. What about the other two?
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline

O(n!^(n!)), are you serious? If you wrote an algorithm that was that bad you would never work again.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline

Well there is always worse. O(n^^^n), using Knuth's up arrow notation
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline

True. No computer could run such an algorithm.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
 Always satisfy the Prime Directive of getting the right answer above all else.
Offline