The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

WP 34S : Numeric integration * EDITED*
Message #1 Posted by Miguel Toro on 12 Sept 2011, 9:57 a.m.

Hello,

I was doing some tests with the numeric integration and noticed that it was not as accurate as other calculators. Then, I found this discussion about the subject, so after reading it, I have some questions:

For Team 34s:

- Is there any plan to improve the built in integrator?

- Pauli talks about a wrapper that would use the built in integrator. Do you have any example of that, or, is there any basic way to do it so one can adapt it easily to any function?

For Gene:

- In the same thread, you talk about a “matrix series modeled after the M1 - M5 routines from the PPC ROM”. Is this already available somewhere?

Please excuse me for these evidently badly informed questions

Thanks,

Miguel

Edited: 12 Sept 2011, 1:54 p.m. after one or more responses were posted

      
Re: WP 34S : Numeric integration
Message #2 Posted by Walter B on 12 Sept 2011, 1:37 p.m.,
in response to message #1 by Miguel Toro

Buenas tardes Miguel,

It would significantly help answering your questions if you would include the link to the discussion you reference. And, BTW, please omit the "pre" to allow for free text flow in your messages. Thanks in advance,

Walter

            
Re: WP 34S : Numeric integration
Message #3 Posted by Miguel Toro on 12 Sept 2011, 1:55 p.m.,
in response to message #2 by Walter B

Terribly sorry about that. I edited the entry.

Gracias,

Miguel

      
Re: WP 34S : Numeric integration * EDITED*
Message #4 Posted by Marcus von Cube, Germany on 12 Sept 2011, 2:37 p.m.,
in response to message #1 by Miguel Toro

The idea is to subdivide the interval in several subintervals and integrate with the built in function in each subinterval. Repeat the step with an increased number of subintervals and compare the results. If they are close enough together, you're done.

            
Re: WP 34S : Numeric integration * EDITED*
Message #5 Posted by Miguel Toro on 12 Sept 2011, 2:47 p.m.,
in response to message #4 by Marcus von Cube, Germany

Ok. Understood.

Thank you very much Marcus,

Miguel

      
Re: WP 34S : Numeric integration * EDITED*
Message #6 Posted by Paul Gaster on 12 Sept 2011, 3:39 p.m.,
in response to message #1 by Miguel Toro

Here is a newer post about the matrix math:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv020.cgi?read=190327

Re: Talking about the WP 34s at the internal HP calculator forum Message #3 Posted by gene wright on 11 Aug 2011, 4:03 p.m., in response to message #2 by Walter B

Good! Did not know you could read it without registration.

Yes, it has quieted down, but I wanted to again point people in the direction to find out more info.

On another note...I have the first draft of the matrix programs for the 34s keyed in. Debugging now. 197 lines is all it takes. Could do a 6x6 system or inverse, 8x8 determinant. That's a limit based on 100 registers available.

----

It looks like things are moving forward.

            
Re: WP 34S : Numeric integration * EDITED*
Message #7 Posted by gene wright on 12 Sept 2011, 4:32 p.m.,
in response to message #6 by Paul Gaster

I hope to present the RRM routines at HHC in a couple of weeks, after which they will be public.

                  
Re: WP 34S : Numeric integration * EDITED*
Message #8 Posted by Walter B on 12 Sept 2011, 4:49 p.m.,
in response to message #7 by gene wright

Looking forward to. Will have to use, however, the global edition of extendable ears.

                        
Re: WP 34S : Numeric integration * EDITED*
Message #9 Posted by gene wright on 12 Sept 2011, 5:23 p.m.,
in response to message #8 by Walter B

I'll be watching for those extendable ears under the door.

For any non-NDA sessions, I would expect video to be up fairly shortly thereafter.

      
Re: WP 34S : Numeric integration * EDITED*
Message #10 Posted by Paul Dale on 12 Sept 2011, 6:01 p.m.,
in response to message #1 by Miguel Toro

Quote:
- Is there any plan to improve the built in integrator?

No.

Quote:
- Pauli talks about a wrapper that would use the built in integrator. Do you have any example of that, or, is there any basic way to do it so one can adapt it easily to any function?

I'm not aware of any example code to do this.

To do much better then integrator needs to be adaptive. The current integrator calculates two different estimates of the integral. With a bit of programming it should be possible to integrate over an interval and if the two estimates disagree by too much, to subdivide the interval and try again.

Quote:
In the same thread, you talk about a “matrix series modeled after the M1 - M5 routines from the PPC ROM”. Is this already available somewhere?

I've also done a bit of work on some matrix code.

The M1 - M5 routines are the basics commands necessary to row reduce a matrix, they are not a full matrix package by themselves.

These do not include enough functionality to do a matrix multiplication or transpose e.g. They can, however, be used to calculate an inverse or a determinant very easily.

They are a great basis for further work & definitely worthwhile having.

- Pauli


[ Return to Index | Top of Index ]

Go back to the main exhibit hall