Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I need a function which is roughly (but not exactly) equivalent to $$f(x)=\frac{1}{x}$$ As $x$ varies from $0$ to $100$, $f(x)$ should vary from $20$ to $0$. Rough indications for values are as follows, to give an idea and know if I know things right:

\begin{array}{c|*5c} x& 4& 11& 20& 50& 80\\ \hline f(x) &18 & 15 & 12 & 5 & 2 \end{array} I am completely out of touch of maths. Please if someone can at least guide me in the right direction. I have filled several pages of notebook and now I'm getting confused.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

$f(x) = \frac{(x-100)^2}{500}$ works pretty well. It's a parabola with its vertex at $(100,0)$ such that $f(0) = 20$.

share|improve this answer
    
Damn my weak maths. Thnx. –  vish213 Dec 7 '12 at 18:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.