Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Education > Science > Re: NSum in Mat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 7 Topic 1814 of 1939
Post > Topic >>

Re: NSum in Mathematica 6: Success at difficult. Failure at simple.

by hrubin@[EMAIL PROTECTED] (Herman Rubin) Mar 25, 2008 at 12:11 PM

In article
<160314c7-bf07-4d47-8e45-501bc8dd1959@[EMAIL PROTECTED]
>,
Vladimir Bondarenko  <vb@[EMAIL PROTECTED]
> wrote:
>NSum[(Cos[n]/n)^1, {n, 1, Infinity}]     slow convergence
>NSum[(Cos[n]/n)^2, {n, 1, Infinity}]     fast convergence

>0.0420195                      RIGHT
>0.572578                       WRONG

>Any comments?


The convergence in the first is very slow, but
one can give the precise solution, and it is
quite possible that Mathematica recognizes the
conversion to logarithmic series.

For the second, the convergence is slow, and
Mathematica might not reccgnize that the expression
can be computed using polylogarithms.

So the success was because the first expression
with the argument of the cosine being nx is
analytically simpler than the second with the
same thing done.
-- 
This address is for information only.  I do not claim that these views
are those of the Statistics Department or of Purdue University.
Herman Rubin, Department of Statistics, Purdue University
hrubin@[EMAIL PROTECTED]
         Phone: (765)494-6054   FAX: (765)494-0558
 




 7 Posts in Topic:
NSum in Mathematica 6: Success at difficult. Failure at simple.
Vladimir Bondarenko <v  2008-03-24 21:28:46 
Re: NSum in Mathematica 6: Success at difficult. Failure at simp
Vladimir Bondarenko <v  2008-03-25 00:09:49 
Re: NSum in Mathematica 6: Success at difficult. Failure at simp
SzH <szhorvat@[EMAIL P  2008-03-25 00:55:25 
Re: NSum in Mathematica 6: Success at difficult. Failure at simp
Vladimir Bondarenko <v  2008-03-25 03:12:19 
Re: NSum in Mathematica 6: Success at difficult. Failure at simp
hrubin@[EMAIL PROTECTED]   2008-03-25 12:29:54 
Re: NSum in Mathematica 6: Success at difficult. Failure at simp
hrubin@[EMAIL PROTECTED]   2008-03-25 12:11:45 
Re: NSum in Mathematica 6: Success at difficult. Failure at simp
SzH <szhorvat@[EMAIL P  2008-03-25 11:13:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 12:21:42 CST 2008.