home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp48 / 4361 < prev    next >
Encoding:
Text File  |  1992-08-21  |  2.1 KB  |  52 lines

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