# Need help with some function for my game

Printable View

• Aug 8th 2012, 10: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, 11: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, 11:22 AM
AnotherLife
Re: Need help with some function for my game
Thanks for your help.

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, 11:29 AM
HallsofIvy
Re: Need help with some function for my game
You can get nice graphing utility, for free, here:
Graph | Plotting of mathematical functions
• Aug 8th 2012, 11:33 AM
AnotherLife
Re: Need help with some function for my game
Nice ! Thanks (Nod)
• Aug 22nd 2012, 07:47 PM
AnotherLife
Re: Need help with some function for my game
Sorry for the bump but I'm trying to find a function to give me the second one, but I just can't ...
Draw Function Graphs - Plotter

Something like the bottom picture in this page :
Team:Imperial College/Growth Curve - 2008.igem.org