AMORT

Type:

Command

 

 

 

 

Description:

Amortize Command: Amortizes a loan or investment based upon the current amortization

 

settings.

 

 

 

 

 

Values must be stored in the TVM variables (I%YR, PV, PMT, and PYR). The number of

 

payments n is taken from the input together with flag –14.

 

 

Access:

@& Î TVM AMORT

 

(Î is the leftshift of the

7key).

Flags:

Financial Payment Mode (–14)

 

 

 

 

Input/Output:

 

 

 

 

 

 

 

 

Level 1/Argument 1

 

Level 3/Item 1

Level 2/Item 2

Level 1/Item 3

 

 

 

 

 

 

 

 

 

n

principal

interest

balance

 

 

 

 

 

See also:

TVM, TVMBEG, TVMEND, TVMROOT

 

 

 

 

 

 

 

 

 

AND

Function

 

 

 

 

Type:

 

 

 

 

Description:

And Function: Returns the logical AND of two arguments.

 

 

When the arguments are binary integers or strings, AND does a bitbybit (base 2) logical comparison.

An argument that is a binary integer is treated as a sequence of bits as long as the current wordsize. Each bit in the result is determined by comparing the corresponding bits (bit1 and bit2) in the two arguments as shown in the following table.

bit1

bit2

bit1 AND bit2

 

 

 

0

0

0

 

 

 

0

1

0

 

 

 

1

0

0

 

 

 

1

1

1

 

 

 

An argument that is a string is treated as a sequence of bits, using 8 bits per character (that is, using the binary version of the character code). The two string arguments must have the same number of characters.

When the arguments are real numbers or symbolics, AND simply does a true/false test. The result is 1 (true) if both arguments are nonzero; it is 0 (false) if either or both arguments are zero. This test is usually done to compare two test results.

If either or both of the arguments are algebraic expressions, then the result is an algebraic of the form symb1 AND symb2. Execute →NUM (or set flag –3 before executing AND) to produce a numeric result from the algebraic result.

Access:

ÃLLOGIC AND

(Ã is the rightshift of the 3key).

Flags:

Numerical Results (–3), Binary Integer Wordsize (–5 through –10)

Full Command and Function Reference 311

Page 131
Image 131
HP 48gII Graphing, 50g Graphing manual Amort, Principal Interest Balance, TVM, TVMBEG, TVMEND, Tvmroot