# Need help with some function for my game

• Aug 8th 2012, 09:58 AM
AnotherLife
Need help with some function for my game
Hello, guys and gals, sorry for my english. I'm making a little game but I'm a little stuck in its economy, to continue I need the functions that give me this :

http://i.imgur.com/RIfUZ.jpg
http://i.imgur.com/FYBy8.jpg

Thanks in advance for any help (Talking)
• Aug 8th 2012, 10:18 AM
skeeter
Re: Need help with some function for my game
first graph ... $y = \frac{k}{x}$ where k is a constant should work

second graph ... one possible curve; Logistic function - Wikipedia, the free encyclopedia
• Aug 8th 2012, 10:22 AM
AnotherLife
Re: Need help with some function for my game

Is there some site where I can play around with functions and their constants and see the resulting graph live ? (I know how to google but I suppose you already have some handy one in mind, heh)
• Aug 8th 2012, 10:29 AM
HallsofIvy
Re: Need help with some function for my game