Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

Login

Username

Password

Not registered yet?

#176 2013-08-04 01:45:15

Agnishom
Real Member
Award: Wink Sherlock

Offline

Re: An Integral and the Computer

Yes. Would you change the title of this thread to 'An Integral and the Computer' or something more interesting


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'Who are you to judge everything?' -Alokananda

#177 2013-08-04 02:21:37

bobbym
Administrator

Online

Re: An Integral and the Computer

Hi;

I will change it to exactly that.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#178 2013-08-04 03:32:36

anonimnystefy
Real Member

Offline

Re: An Integral and the Computer

Hm, what about Romberg?


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#179 2013-08-04 03:40:17

bobbym
Administrator

Online

Re: An Integral and the Computer

Romberg uses the trapezoidal rule and then generates an array of values. Hopefully with each column being more accurate because each column is a higher and higher Newton Cotes.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#180 2013-08-04 03:42:36

anonimnystefy
Real Member

Offline

Re: An Integral and the Computer

So, how is each value generated, exactly?


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#181 2013-08-04 03:47:43

bobbym
Administrator

Online

Re: An Integral and the Computer

It uses something called Richardson's Extrapolation to do that. I generally do not use it for anything but sequence acceleration and I am not sure how it does that either.

As I said the first column is as trapezoidal rule the successive columns are computed using this formula:


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#182 2013-08-05 00:54:31

anonimnystefy
Real Member

Offline

Re: An Integral and the Computer

The original integral to a 100 places (with trap):



Requires n=215004709762716014868701639070092447035983684173824 according to the error estimate.

Last edited by anonimnystefy (2013-08-05 00:55:36)


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#183 2013-08-05 00:57:01

bobbym
Administrator

Online

Re: An Integral and the Computer

I would not recommend the trap rule for that many digits of precision.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#184 2013-08-05 00:58:14

Agnishom
Real Member
Award: Wink Sherlock

Offline

Re: An Integral and the Computer

With what did you compute that?


'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'
'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'
'Who are you to judge everything?' -Alokananda

#185 2013-08-05 00:59:15

bobbym
Administrator

Online

Re: An Integral and the Computer

He used the big boy on the block, M!


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#186 2013-08-05 01:08:38

anonimnystefy
Real Member

Offline

Re: An Integral and the Computer

I do not recommend it either. Just look at how large n it took!

Last edited by anonimnystefy (2013-08-05 01:09:01)


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#187 2013-08-05 01:10:26

bobbym
Administrator

Online

Re: An Integral and the Computer

You do not believe that M actually did anything that many times?!


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#188 2013-08-05 01:22:32

anonimnystefy
Real Member

Offline

Re: An Integral and the Computer

Of course not! Nothing can do something like that that many times. What I do not know is what it did.

Last edited by anonimnystefy (2013-08-05 01:22:58)


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#189 2013-08-05 01:26:24

bobbym
Administrator

Online

Re: An Integral and the Computer

Used acceleration techniques. What command did you use?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#190 2013-08-05 01:31:07

anonimnystefy
Real Member

Offline

Re: An Integral and the Computer

Sum.

Last edited by anonimnystefy (2013-08-05 01:31:28)


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#191 2013-08-05 01:37:49

bobbym
Administrator

Online

Re: An Integral and the Computer

Okay, that uses lots of acceleration making that command fast.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#192 2013-08-05 02:08:55

anonimnystefy
Real Member

Offline

Re: An Integral and the Computer

Yes, thought it was something like that, but that number is still very large. Maybe it has to do with the fact that it all of them are very very small.


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#193 2013-08-05 02:14:35

bobbym
Administrator

Online

Re: An Integral and the Computer

What is very small?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#194 2013-08-05 02:16:28

anonimnystefy
Real Member

Offline

Re: An Integral and the Computer

(Cos[x])^100.


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#195 2013-08-05 02:19:46

bobbym
Administrator

Online

Re: An Integral and the Computer

If you used Sum he probably was able to do the definite summation and get a closed form.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#196 2013-08-05 02:25:13

anonimnystefy
Real Member

Offline

Re: An Integral and the Computer

It seems it really does have a closed form for the sum!


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#197 2013-08-05 02:26:05

bobbym
Administrator

Online

Re: An Integral and the Computer

That would account for the speed and accuracy.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#198 2013-08-05 02:33:20

anonimnystefy
Real Member

Offline

Re: An Integral and the Computer

I'm now trying to implement the Simpson's rule in M.


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

#199 2013-08-05 02:37:32

bobbym
Administrator

Online

Re: An Integral and the Computer

Should not be difficult. Nice clean formula for math style.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

#200 2013-08-05 04:49:53

anonimnystefy
Real Member

Offline

Re: An Integral and the Computer

Yes, it is a pretty one. Unlike Romberg...


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Board footer

Powered by FluxBB