HP35s: Interpolate



#5

Hi,

just got my 35s (78,- EUR incl. shipping from dynatech.de), seems to be a nice piece of hardware. But anyway....

I often do interpolation. On my 49g+ it was an easy programm with 5 values in the stack. The RPN programm was:

<< -> A B C D E '(D-B)/(C-A)*(E-A)+B' >>

If have no good idea how to do it on my 35s. Do have to use 5 (!) Labels for the variables and anotherone for the programme, or is there another (better) way?

How would you do it?


Regards from Hamburg !!

ChristianB


#6

If you have to keep the content of the named variables, you should make yourself familiar with *indirect addressing* (Page 14-20 in the english manual). There's plenty of space in the 35s accessible this way.

#7

Put

(D-B)/(C-A)*(E-A)+B

in an EQN. Run the EQN by pressing XEQ when you have chosen it and you'll be prompted for the 5 values A to E (each only once, not twice in the case of A or B). No need for a program at all.

Edited: 18 Dec 2007, 11:11 a.m.


#8

LOL, I had a similar program on my 48G. I only had about 3 programs and this was one of them.

On my 35s, I use linear regression to do this and it is very fast--probably faster than finding and running my program on my 48G.

Clear the stat data, enter the two known x,y pairs, enter the known x and hit L.R. You should see your unknown y value.


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP35s Program Four Slings Lift Calculation Jean-Marc Biram (Australia) 2 2,294 12-16-2013, 07:21 PM
Last Post: Jean-Marc Biram (Australia)
  HP35s Calculator Max Rope Tension Program Jean-Marc Biram (Australia) 10 4,546 12-12-2013, 12:03 AM
Last Post: Jean-Marc Biram (Australia)
  Trouble entering a HP35s program line Arno 2 1,589 04-05-2013, 06:28 PM
Last Post: Arno
  HP35s scientific calculator GREG W THOMAS 4 1,981 03-22-2013, 06:49 AM
Last Post: Thomas Radtke
  HP35s "MEMORY CLEAR" flashes Mark Paris 1 1,527 08-31-2012, 07:35 PM
Last Post: Bart (UK)
  HP35S keyboard Nick R 8 2,888 08-01-2012, 01:27 PM
Last Post: Dave Shaffer (Arizona)
  Where should I post new HP35s bugs Andres Capdevila 33 9,761 03-13-2012, 01:00 PM
Last Post: Jeff O.
  HP35s Internal Investigations - new processor? stefan 5 2,137 03-08-2012, 04:48 AM
Last Post: Paul Dale
  Is the HP35s reliable? Chris Smith 26 7,450 02-24-2012, 11:38 AM
Last Post: Jeff Johnson
  HP35S solve problem Alessandro Castellani (Italy) 5 2,473 01-02-2012, 03:06 PM
Last Post: Dieter

Forum Jump: