Function arc length on 50G



#7

Hi folks,

Is there an indigenous function on the 50G that will let me find the arc length along a given function line between two limits?
I can't seem to find reference to such functionality in the users guide.

Thanks and best regards, Hal


#8

>>>CLICK<<<

I don't think there is a dedicated function available. But with the formula from the above article, you might want to write a tiny program of your own... (I suspect you know that formula already)


Edited: 25 Aug 2008, 12:42 p.m.


#9

Thanks George,

I had actually already written a program for my 42S that solves for arc length iteratively/numerically (where I can specify the number of iterations), which of course is pretty straightfoward, and will work on any function. I was just wondering if this was pre-programed on the 50G (like it is on the TI89).

Guess I'll have to write an RPL subroutine for my 50G to solve for arc length (uhggg...RPL is not easy for me!).

Thanks and best regards, Hal

#10

The 50g makes it easy to define the function yourself:

'AL(a,b,f,x)=Integral(a,b,SQRT(1+SQ(DERIV(f,x))),x)'
DEF
Substitute the words in italics by their respective symbols.

This defines the variable AL as a short program with just an arithmetic expression (the right hand side of the above equation) as its body. The function takes parameters similar to the built in symbolic integration.

You'll have to force numeric evaluation (->NUM) if you want to see numeric results.

If anybody detects a typo, please correct me.


#11

Marcus,

thanks, it works great, no typo!

Just don't forget to purge x before executing AL, in case you have stored a value in it..: ;-) Or else you'll get an error!


#12

If you use lower case variable names the danger of having accidently stored anything there is low.

The program creates four local variables: a, b, f and x. I was hoping that x in the expression is treated as a local formal variable. I'm not sure if that works. If the local variable x holds the name of the variable passed as the 4th argument to AL, this name matters. If you pass X and X exists and holds a value you might get into trouble.


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP50g: Writing a function that returns a function Chris de Castro 2 2,188 12-10-2013, 06:49 PM
Last Post: Han
  [hp 50g]Recall quickly a built-in function Pier Aiello 10 2,931 08-05-2013, 09:38 PM
Last Post: Robert Prosperi
  Riemann's Zeta Function update (HP-28S, HP-48G/GX/G+, HP-49G/G+/50g) Gerson W. Barbosa 0 1,114 06-30-2013, 01:01 AM
Last Post: Gerson W. Barbosa
  A quickie: improve the HP 50g IABCUV function Peter Murphy (Livermore) 14 3,565 02-03-2013, 09:56 AM
Last Post: Thomas Klemm
  New Blog Post: Length of a Polynomial Segment Eddie W. Shore 1 1,232 01-17-2013, 08:56 PM
Last Post: Namir
  Riemann's Zeta Function (HP 50g) Gerson W. Barbosa 20 4,845 12-17-2012, 08:49 PM
Last Post: Gerson W. Barbosa
  Zeta Function [HP 50g] Gerson W. Barbosa 14 4,334 11-14-2012, 03:29 PM
Last Post: Gerson W. Barbosa
  Preview of the 'Full Command and Function Reference' inside your HP 50g / HELP for *all* commands. Software49g 1 1,107 12-18-2011, 03:07 PM
Last Post: Software49g
  OT - Length of day question Cristian Arezzini 20 4,959 12-14-2011, 09:28 AM
Last Post: M. Joury
  HP 50g: Full Command and Function Reference incorporated into the O.S. Software49g 2 1,182 10-22-2011, 07:53 PM
Last Post: Software49g

Forum Jump: