Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:calculator:progs:dm15l_progs [14/02/26 07:45 GMT] – [Solve with an Integral] john | public:calculator:progs:dm15l_progs [05/04/26 09:46 BST] (current) – [Integrate Tests] john | ||
|---|---|---|---|
| Line 1347: | Line 1347: | ||
| ∫ 3 | ∫ 3 | ||
| ABS | ABS | ||
| + | // THIS IS A METHOD OF RESTRICTING SOLVE TO A CERTAIN ACCURACY TO REDUCE THE TIME.. | ||
| x< | x< | ||
| CLx // if our current guess for " | CLx // if our current guess for " | ||
| Line 1374: | Line 1375: | ||
| ==== Firmware details ==== | ==== Firmware details ==== | ||
| - | [[..:info:lf15c|]] | + | [[..:3rd:lf15c|]] |
| Line 1413: | Line 1414: | ||
| %% | %% | ||
| - | * [[..:bench2#The SAVAGE benchmark|Savage]] is prog '' | + | * [[..:benchmarking: |
| - | * [[..:bench2# | + | * [[..:benchmarking: |
| * Both the above use '' | * Both the above use '' | ||
| - | * [[..:bench2#HP Museum Maths Benchmark|]] is prog '' | + | * [[..:benchmarking: |
| * Run for 60 seconds, press < | * Run for 60 seconds, press < | ||
| - | * [[..:bench2#HP Museum Trig Benchmark|]] is prog '' | + | * [[..:benchmarking: |
| * Run for 60 seconds, press < | * Run for 60 seconds, press < | ||
| Line 1448: | Line 1449: | ||
| - | * [[..:bench2#The SAVAGE benchmark|Savage]] is prog is prog '' | + | * [[..:benchmarking: |
| - | * [[..:bench2# | + | * [[..:benchmarking: |
| * Both the above use '' | * Both the above use '' | ||
| - | * [[..:bench2#HP Museum Maths Benchmark|]] is prog is prog '' | + | * [[..:benchmarking: |
| * Run for 60 seconds, press < | * Run for 60 seconds, press < | ||
| - | * [[..:bench2#HP Museum Trig Benchmark|]] is prog '' | + | * [[..:benchmarking: |
| * Run for 60 seconds, press < | * Run for 60 seconds, press < | ||
| Line 1578: | Line 1579: | ||
| %% | %% | ||
| - | 43 101 13 0 25 103 79 3 86 43 100 13 0 25 103 79 3 104 17 1 14 118 11 98 118 1 102 86 43 3 11 17 0 39 15 103 40 86 0 0 | + | 43 100 13 0 25 103 79 3 104 17 1 118 8 98 118 1 102 86 43 3 11 17 0 39 15 103 40 86 0 0 |
| %% | %% | ||
| Line 1593: | Line 1594: | ||
| ABS | ABS | ||
| RCL 1 | RCL 1 | ||
| - | x<>y // swap x & y to put our pre-set ACC value in y, like in the HP version | + | x>y? // test if current guess (y) is better |
| - | x<=y? // test if current guess is better than our required accuracy | + | |
| CLx // if it is, we're near enough, put a real zero in x | CLx // if it is, we're near enough, put a real zero in x | ||
| x≠0 // if it isn't zero we need to continue | x≠0 // if it isn't zero we need to continue | ||
| Line 1615: | Line 1615: | ||
| * put your '' | * put your '' | ||
| * put initial guesses of < | * put initial guesses of < | ||
| - | * first bessel zero at mod index '' | + | * first bessel zero at mod index '' |
| + | |||
| + | ==== Integrate Tests ==== | ||
| + | |||
| + | The 12 Integration examples from the PPC ROM handbook section '' | ||
| + | |||
| + | %% | ||
| + | 43 12 84 24 26 37 14 24 30 37 39 4 86 43 11 28 16 14 84 24 26 37 4 39 14 24 30 37 26 34 22 30 40 16 40 86 43 10 84 24 26 37 4 86 43 9 30 20 24 16 86 43 8 88 15 86 43 7 35 25 25 103 39 37 4 14 4 37 14 11 84 35 25 25 39 14 40 86 43 6 24 27 37 14 39 4 86 43 5 4 14 26 38 40 14 88 20 38 86 43 4 88 86 43 3 103 39 11 86 43 2 4 86 43 1 27 14 84 26 37 40 86 0 0 | ||
| + | %% | ||
| + | |||
| + | '' | ||
| + | |||
| + | 12 programs. Set limits and then execute < | ||
| + | |||
| + | For example for program 1 | ||
| + | |||
| + | <key> 0 </ | ||
| + | |||
| + | |||
| + | - Limits | ||
| + | - Limits | ||
| + | - Limits | ||
| + | - Limits | ||
| + | - Limits | ||
| + | - Limits | ||
| + | - Limits | ||
| + | - Limits | ||
| + | - Limits | ||
| + | - Limits | ||
| + | - Limits -1 -> 1 answer 2.3857 E-2 | ||
| + | - Limits -1 -> 1 answer 2.2033 | ||
| + | |||
| + | Using '' | ||
| + | |||
| + | Dropping to '' | ||
| + | Strangely Program 8 has some odd behaviour regarding display precision. | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| Line 1624: | Line 1669: | ||
| Page last updated: ~~LASTMOD~~ | Page last updated: ~~LASTMOD~~ | ||
| - | |||
| - | |||
| - | --- //John Pumford-Green 24/04/23 16:04// | ||