Post Reply 
16 Point Gaussian Quadrature for the HP-41C/CV/CX (updated)
11-10-2023, 01:11 AM
Post: #3
RE: 16 Point Gaussian Quadrature for the HP-41C/CV/CX (updated)
.
Hi, Namir,

There's a number of errors in your program's listing, namely wrong numeration of the lines marked in red below:

Namir Wrote:
105 CHS
106 1
101 +
102 X^2
109 DSE 19
110 RCL IND 19
[...]
123 STO 04
124 6.219352394E-2
119 STO 05
126 9.445750231E-1
127 STO 06

Besides, several of your 10-digit numeric coefficients below marked in red are wrong or inaccurate ...

Namir Wrote:120 2.715245941E-2
121 STO 03
122 9.89400935E-1
123 STO 04
124 6.219352394E-2
119 STO 05
126 9.445750231E-1
127 STO 06
128 9.515851168E-2
129 STO 07
130 8.656312024E-1
131 STO 08
132 1.246289713E-1
133 STO 09
134 7.554044024E-1
135 STO 10
136 1.495959888E-1
137 STO 11
138 6.178762444E-1
139 STO 12
140 1.691565194E-1
141 STO 13
142 4.580167777E-1
143 STO 14
144 1.82603415E-1
145 STO 15
146 2.816035502E-1
147 STO 16
148 1.894506105E-1
149 STO 17
150 9.501190984E-2
151 STO 18

... so you'd do well getting the correct/accurate values from a reputable source and/or typing them correctly.

Finally, if you'd take a friendly advice, when posting a program which performs such a computation, it would be proper (nay, mandatory) to include some numeric results generated by the program, if nothing else just that people trying it out can be reassured that it's correctly loaded and properly working by simply running your program and actually getting exactly your results.

Regards.
V.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 16 Point Gaussian Quadrature for the HP-41C/CV/CX (updated) - Valentin Albillo - 11-10-2023 01:11 AM



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