TITLE: Drawing a graph that is flat, but then spikes
QUESTION [5 upvotes]: I'm trying to create a function that makes a graph like this:
|
|
|           -
|          - -
|         -   -
|        -     -
|--------       --------
|-----------------------

I'm stuck with: $1/((x-1.5)^2)$
Any help?

REPLY [3 votes]: The function $1/(x-1.5)^2$ that you pointed couldn't have such that shape. But doing some changes can make it to have that desire shape. It is $$f(x)=\frac{1}{(x^2+1.5)^2}$$