HP Forums
Romberg Integration for 33s, 35s - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Romberg Integration for 33s, 35s (/thread-215491.html)



Romberg Integration for 33s, 35s - Matt Agajanian - 03-25-2012

Hello all.

I looked through the Arrticle Archives and the 34s port is a little bit hard to understand and it seems that the register exchange instructions are cryptic.

So, has anyone ported the WP-34S Romberg Integration program to the 33s or 35s? If so, could you let me know and if it's suitable, could you list the program and instructions, please? Thanks

Edited: 25 Mar 2012, 1:45 a.m.


Re: Romberg Integration for 33s, 35s - Paul Dale - 03-25-2012

The code in the articles section is straight port of the 41C PPC integration routine. The PPC manual has extensive documentation on all its routines and this one isn't an exception.

Don't have the PPC manual? Buy the museum DVD set. It is on there.


- Pauli


Re: Romberg Integration for 33s, 35s - Matt Agajanian - 03-25-2012

Got the DVD a coupla week, ago. Which item should I be looking for?


Re: Romberg Integration for 33s, 35s - Gerson W. Barbosa - 03-25-2012

You should look for HP-41C PPC ROM Users Manual in Calculator Software Manuals.


Re: Romberg Integration for 33s, 35s - Matt Agajanian - 03-25-2012

Sounds like a plan


Re: Romberg Integration for 33s, 35s - Nick_S - 03-26-2012

Quote:
The code in the articles section is straight port of the 41C PPC integration routine.

Is this the same routine as the modified Romberg integration method used in the 15c?

Nick


Re: Romberg Integration for 33s, 35s - Paul Dale - 03-26-2012

The 15c has a machine code implementation not a keystroke program, so they won't be the same. However the basic algorithm will be similar.

- Pauli


Re: Romberg Integration for 33s, 35s - Nick_S - 03-26-2012

I gather that the 15c uses non-uniformly spaced samples to avoid problems with periodic integrands and that it usually does not evaluate the function at either limit of integration to reduce problems when the function is not defined at the one of the limits. Do you know if these features are also implemented in the PPC integration routine?

Nick


Edited: 26 Mar 2012, 7:10 a.m.


Re: Romberg Integration for 33s, 35s - Paul Dale - 03-26-2012

Non-uniform samples is a standard transform.

Not evaluating at the end points is part of the algorithm I believe.


- Pauli


Re: Romberg Integration for 33s, 35s - Nick_S - 03-26-2012

Thanks for this information. I also came across the forum article by Les Wright which gives the wp34s version of the code here:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=1126

he says that "There are first two transformations of variable--the first a linear one to standardize the interval of integration to [-1,1], the second a nonlinear one so that points are sampled at uneven intervals and problems with some periodic functions are avoided."

I look forward to playing with this code on other platforms.

Nick

Edited: 26 Mar 2012, 10:01 a.m.