Article View: sci.math.symbolic
Article #1034Re: sum(k from f(n) to g(n) of h(n,k))
From: Dave Hart
Date: Wed, 06 Jan 1993 21:40
Date: Wed, 06 Jan 1993 21:40
25 lines
1309 bytes
1309 bytes
In article <1993Jan4.155647.9643@iscsvax.uni.edu> kraai4712@iscsvax.uni.edu writes: >Hello Symbolic Mathers! > >I was wondering which symbolic packages aren't afraid to evaluate, >symbolically, summations whose bounds are functions. > >Oh, and are any of those that meet the first criterion able to draw spheres >quickly? > >I know these two questions come together sooooo often. I don't know about your last assertion, or why you want to, but Maple does: e.g., >f := n->n^2; >g := n->n^3; >h := (n,k)->1/(1+n+k); >subs( n=sqrt(2), sum( h(n,k), k=f(n)..g(n) ) ); produces psi(2 + 3*sqrt(2)) - psi(3 + sqrt(2)) [that's approximately .381872089]. [note that I don't claim that this is programming, much less "good"]. "sphereplot" is a builtin function.
Technical Details
Message-ID:
<C0GC8B.7zz@usenet.ucs.indiana.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!bronze.ucs.indiana.edu!dhartReferences:
<1993Jan4.155647.9643@iscsvax.uni.edu>Show Full Headers
Complete Article Headers
Newsgroups: sci.math.symbolic Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!bronze.ucs.indiana.edu!dhart From: dhart@bronze.ucs.indiana.edu (Dave Hart) Subject: Re: sum(k from f(n) to g(n) of h(n,k)) Message-ID: <C0GC8B.7zz@usenet.ucs.indiana.edu> Sender: news@usenet.ucs.indiana.edu (USENET News System) Nntp-Posting-Host: bronze.ucs.indiana.edu Organization: Indiana University References: <1993Jan4.155647.9643@iscsvax.uni.edu> Date: Wed, 6 Jan 1993 21:40:58 GMT Lines: 25