| Author |
Message |
Orftintain
Joined: 29 Sep 2006 Posts: 1
|
Posted: April 14, 2007 2:04 PM Post subject: log mean / Interpolation |
|
|
Two Questions: They are both How / Can I do a..on TI89
1) Log mean - Is there a function to return it ?
Has someone posted the programing code to make one ?
ie ..Log ( a,b) = ans,
where ans = (a - b ) /(log(a/b)
2) Linear Interpolation
Is there a function to return it ?
Has someone posted the programing code to make one ?
ie given two points , assume a line, give third coordinate, find it's matching value on that line...
I know this fuction comes preprogrammed into the 85 but I can't find it on the 89....
I do these a-lot and would like to program them into my calculator..
(if necessary)
I have basically zero programming experience and no computer calc cable..
Thanks |
|
| Back to top |
|
 |
mellamokb
Joined: 10 May 2007 Posts: 100
|
Posted: May 17, 2007 10:20 PM Post subject: |
|
|
Hi Orftintain,
There aren't built-in functions for the operations you describe, but you can build your own using the function editor or the home screen. Try these (on the home screen):
| Code: |
Define logmean(a,b)=(a-b)/log(a/b)
Define linterp(ax,ay,bx,by,cx)=ay+((cx-ax)/(bx-ax))(by-ay)
|
ax=x-coordinate of first point
ay=y-coordinate of first point
bx=x-coordinate of second point
by=y-coordinate of second point
cx=x-coordinate of point being interpolated
The output will be the y-coordinate corresponding with cx on the line defined by (ax,ay) and (bx,by).
Now just use "logmean(" and "linterp(" with valid parameters to do your repetitive calculations.
Hope this helps!
~ mellamokb |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
Saphic 1.5 // Theme created by Sopel
|
|