HP Forums

Full Version: Function arc length on 50G
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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


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.

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

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

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.


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!

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.