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