Post Reply 
(42S) Function Table
02-22-2019, 08:58 PM
Post: #7
RE: (42S) Function Table
Here's a program for the HP-15C:
Code:
001-42,21,11 :   ▸LBL A
002-       2 :    2
003-42,23,11 :    DIM A
004-   43 33 :    R↑
005-   44  2 :    STO 2
006-   43 33 :    R↑
007-   44  3 :    STO 3
008-42,16, 1 :    MATRIX 1
009-42,21, 0 :   ▸LBL 0
010-   45  2 :    RCL 2
011-   45  3 :    RCL 3
012-44,40, 2 :    STO+ 2
013-      33 :    R↓
014-ᵘ  44 11 :    USER STO A
015-   32 15 :    GSB E
016-ᵘ  44 11 :    USER STO A
017-   22  0 :    GTO 0
018-45,16,11 :    RCL MATRIX A
019-   43 32 :    RTN
Make sure that lines 015 and 017 are inserted in USER mode.

The function \(f(x)=x^2 e^x\) is implemented here:
Code:
020-42,21,15 :   ▸LBL E
021-   43 11 :    x²
022-   43 36 :    LSTx
023-      12 :    eˣ
024-      20 :    ×
025-   43 32 :    RTN

Example:

0 ENTER
0.1 ENTER
10
A

A      10  2

The entries can be displayed by repeatedly running RCL A in USER mode.
For a moment the corresponding index will be flashed:

RCL A
A   1,1
0.0000

RCL A
A   1,2
0.0000

RCL A
A   2,1
0.1000

RCL A
A   2,2
0.0111

RCL A
A   3,1
0.2000

RCL A
A   3,2
0.0489



RCL A
A   9,1
0.8000

RCL A
A   9,2
1.4243

RCL A
A  10,1
0.9000

RCL A
A  10,2
1.9923

Cheers
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(42S) Function Table - Eddie W. Shore - 02-18-2019, 05:04 AM
RE: (42S) Function Table - ijabbott - 02-21-2019, 08:41 AM
RE: (42S) Function Table - Thomas Klemm - 02-21-2019, 11:57 AM
RE: (42S) Function Table - ijabbott - 02-22-2019, 01:21 AM
RE: (42S) Function Table - Thomas Klemm - 02-22-2019, 07:18 AM
RE: (42S) Function Table - Eddie W. Shore - 02-22-2019, 02:02 PM
RE: (42S) Function Table - Thomas Klemm - 02-22-2019 08:58 PM



User(s) browsing this thread: 1 Guest(s)