From harper@kauri.vuw.ac.nz Wed Jan 13 00:57:49 CST 1999 Article: 18387 of sci.math.symbolic Path: news.math.niu.edu!husk.cso.niu.edu!vixen.cso.uiuc.edu!howland.erols.net!newsfeed.cwix.com!203.97.37.7!newsfeed.clear.net.nz!news.wlg.netlink.net.nz!harper From: harper@kauri.vuw.ac.nz (John Harper) Newsgroups: sci.math.symbolic Subject: Re: Maple Integration Question Date: 13 Jan 1999 03:49:05 GMT Organization: Victoria University of Wellington, New Zealand Lines: 23 Message-ID: <916199342.698752@bats.mcs.vuw.ac.nz> References: <77gpne$4c5@news.uncc.edu> NNTP-Posting-Host: bats.mcs.vuw.ac.nz Keywords: Maple Cache-Post-Path: bats.mcs.vuw.ac.nz!harper@kauri.vuw.ac.nz X-Cache: nntpcache 2.3.2.1 (see http://www.nntpcache.org/) Xref: news.math.niu.edu sci.math.symbolic:18387 In article <77gpne$4c5@news.uncc.edu>, Harischandra P Cherukuri wrote: >When I try integrating a function alg(theta) using two >different methods but the same integration limits, I get >two different results. Am I missing something in the syntax? [snip] >restart; >alg:=theta->1+B1/(a-theta)^m; [snip] >a:=3.5:m:=10:thmin:=1.:thmax:=3.: >int(alg(theta),theta=thmin..thmax); > > 1.666666667 + 56.88885976 B1 Not only is that wrong (consider B1 = 0 to see why), but when I tried it with Maple V Release 4, I got 2.333333333 + 56.88885975 B1, which is just as far off the right answer but on the other side of it! John Harper, School of Mathematical and Computing Sciences, Victoria University, Wellington, New Zealand e-mail john.harper@vuw.ac.nz phone (+64)(4)471 5341 fax (+64)(4)495 5045