home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!stanford.edu!CSD-NewsHost.Stanford.EDU!Xenon.Stanford.EDU!michaelg
- From: michaelg@Xenon.Stanford.EDU (Michael Greenwald)
- Subject: Re: 1+1/2+1/3+1/4+...+1/n
- Message-ID: <michaelg.722193567@Xenon.Stanford.EDU>
- Sender: news@CSD-NewsHost.Stanford.EDU
- Organization: CS Department, Stanford University, California, USA
- References: <92324.132329K3032E2@ALIJKU11.BITNET> <1992Nov19.133451.11346@hubcap.clemson.edu>
- Date: 19 Nov 92 17:19:27 GMT
- Lines: 39
-
- steve@hubcap.clemson.edu ("Steve" Stevenson) writes:
-
- >Mutter Christoph Johannes <K3032E2@ALIJKU11.BITNET> writes:
-
- >>I've a problem. I have to calculate the sum 1+1/2+1/3+1/4+...+1/n.
- >>The result should be 100.
-
- >This problem is fraught with difficulties. This is the harmonic series so
- >it does not converge. One can expect (and you won't be disappointed)
- >difficulties. A first crack is to sum the series from smallest number to
- >highest (1/n ->1). That should help.
-
- (a) Is this a homework problem?
- (b) The fact that it doesn't converge doesn't make it harder; on the
- contrary --- he doesn't have to check to make sure that it converges
- to something less than 100.
- (c) If the goal is specifically to compute it, using brute force, and
- he's not using infinite precision or a rational number package, then
- your hint will only help if he inspects the partial sums. (Assuming a
- naive program it will take just as long to run (i.e. "a long time"
- like forever) on a Cray as on an HP calculator if he's suffering
- precision problems).
- (d) Also, since he's looking for the particular "n" that will allow
- the harmonic series to sum to 100, it will be difficult for him to
- proceed from "the smallest to the highest" without having a guess as
- to what "n" is (although one would assume that someone who had taken
- first year calculus might have a reasonable guess --- i.e. know the
- order of magnitude of "n").
-
- I assume you were trying to give him a hint without doing his work for
- him, I just think that your hint was going to be more confusing than
- helpful. I could be wrong.
-
- Michael Greenwald
- Greenwald@cs.stanford.edu
-
-
-
-
-