TI-89 HomeGames ArchiveTitanium GamesGames How ToProgramsFAQForumTI-89 WikiLinks

log mean / Interpolation

 
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> Math
Author Message
Orftintain



Joined: 29 Sep 2006
Posts: 1

PostPosted: April 14, 2007 2:04 PM    Post subject: log mean / Interpolation Reply with quote

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
View user's profile Send private message
mellamokb



Joined: 10 May 2007
Posts: 100

PostPosted: May 17, 2007 10:20 PM    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:    View previous topic : View next topic  
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> Math All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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

Contact Us | Privacy Policy | Disclaimer | Trademarks

Copyright ©2006 All rights reserved.


Free Greeting Cards | Girly Myspace Layouts | Myspace Unblocker |