home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp48
- Path: sparky!uunet!van-bc!ubc-cs!unixg.ubc.ca!ochealth
- From: ochealth@unixg.ubc.ca (ochealth)
- Subject: Re: Hp48 and TI85 compared
- Message-ID: <1992Aug22.034950.6455@unixg.ubc.ca>
- Sender: news@unixg.ubc.ca (Usenet News Maintenance)
- Nntp-Posting-Host: unixg.ubc.ca
- Organization: University of British Columbia, Vancouver, B.C., Canada
- References: <1992Aug14.210022.15328@utagraph.uta.edu> <1992Aug20.023308.6024@unixg.ubc.ca> <MHEISKAN.92Aug20064322@vipunen.hut.fi>
- Date: Sat, 22 Aug 1992 03:49:50 GMT
- Lines: 39
-
- In article <MHEISKAN.92Aug20064322@vipunen.hut.fi> mheiskan@.vipunen.hut.fi writes:
- >In article <1992Aug20.023308.6024@unixg.ubc.ca> ochealth@unixg.ubc.ca (ochealth) writes:
- >
- >> Can the TI85 find roots of complex polynomials? Wickes can't, but with a
- >> little trick (any Wayne`s POLY utils) it can.
- >
-
-
- OK, it's pretty simple. Since Bill Wickes' polynomial root finder is so fast,
- this trick *crudely* lets it find roots to polynomials with complex coefficients
- (instead of just real coefficients).
-
- You need Wayne's or *somebody's* poly utils to make this easy.
-
- Let Z = [ coefficiients array ], which is a complex vector.
- let Z* = conj(Z) (use HP's built in CONJ)
-
- then let Z' = ZZ* ie the original polynomial mulitpled by its conjugate
- Z' is gauranteed to have purely real coefficients. So use RE on Z'
- and feed that into Wickes' fast root finder. You will get 2*N roots, where
- N=degree(Z). N roots will be correct. N roots will be wrong, or repeated roots.
- To find the good roots and the bogus ones, go through and evaluate Z(rk) for
- k=1 to N.
-
- I'll be the first to admit that this is a kludge, but since Wickes' root
- finder is so fast, this technique still finds complex roots faster than
- other programs.
-
- >What's the trick? (I don't have Wayne's POLY utils.)
- >
- >--
- >--> mheiskan@vipunen.hut.fi
-
- jpm
- --
- ______________________________________________________________________________
- jpm: ochealth@unixg.ubc.ca
- Happily using OS/2 2.0 because MS Windows isNT ___
- Insert VapourFeature ^^^
-