home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp48 / 4357 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  2.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!nntp.uoregon.edu!nntp.uoregon.edu!stevev
  2. From: stevev@miser.uoregon.edu (Steve VanDevender)
  3. Newsgroups: comp.sys.hp48
  4. Subject: Re: (none)
  5. Message-ID: <STEVEV.92Aug21102011@miser.uoregon.edu>
  6. Date: 21 Aug 92 15:20:11 GMT
  7. References: <199208202355.AA23208@seq.uncwil.edu>
  8. Sender: news@nntp.uoregon.edu
  9. Organization: University of Oregon Chemistry Stores
  10. Lines: 45
  11. In-Reply-To: BOBEA@kgnvmz.vnet.ibm.COM's message of 20 Aug 92 23:48:26 GMT
  12.  
  13. In article <199208202355.AA23208@seq.uncwil.edu>
  14. BOBEA@kgnvmz.vnet.ibm.COM (Bob Easton) writes:
  15.  
  16.    Does anyone know where I can find routines which will handle symbolic
  17.    matrices and subscripted variables?  Are there any on the goodies disks?
  18.  
  19. Bill Wickes's excellent books "HP 48 Insights" vols. I and II
  20. have some symbolic matrix routines.
  21.  
  22. A little-known fact is that in algebraics you can subscript
  23. variables with a syntax similar to array access in FORTRAN or
  24. BASIC.  If a variable A contains a vector or list, then 'A(n)'
  25. refers to the nth element of A (1-based, so 'A(1)' is the first
  26. element).  If a variable A contains a matrix, then you can use
  27. 'A(i,j)' to access the (i,j) element.
  28.  
  29.    Another thing, why does my HP48 give 1_1/s for the UBASE of the cube root
  30.    of 1_N?
  31.  
  32. 1_N UBASE -> 1_kg*m/s^2
  33.  
  34. So that implies that
  35.  
  36. 1_kg*m/s^2 3 XROOT -> 1_kg^(1/3)*m^(1/3)/s^(2/3),
  37.  
  38. right?
  39.  
  40. Not quite.  For reasons of efficiency, units can have only
  41. integral powers in the range -128..127.  Therefore the 1/3s are
  42. rounded to 0 and the 2/3 is rounded to 1, giving units of 1_1/s.
  43.  
  44. HP 48 Insights recommends using UBASE on units before raising
  45. them to fractional powers so that you can see whether fractional
  46. unit powers might result, giving you incorrect units after the
  47. operation.
  48.  
  49. More interesting unit anomalies:
  50.  
  51. 1_s 128 ^ -> 1_s^128 UBASE -> 1_1/s^128
  52. 1_s 256 ^ -> 1_s^256 UBASE -> 1
  53. --
  54. Steve VanDevender     stevev@greylady.uoregon.edu
  55. "Bipedalism--an unrecognized disease affecting over 99% of the population.
  56. Symptoms include lack of traffic sense, slow rate of travel, and the
  57. classic, easily recognized behavior known as walking."
  58.