2

What function could I use to approximate a curve with this plot?

enter image description here

The function ideally will involve sine and have its envelope defined by different exponentials of the form $y = ae^{bx}$ and $y = ce^{dx}$.

Jon
  • 55

2 Answers2

8

If $f$ and $g$ are any two functions with $f<g$ you can get a sinewave-ish thing oscillating between $f$ and $g$ by considering $$\frac{f(x)+g(x)}2+\frac{f(x)-g(x)}2\sin(x).$$

Or $$\frac{f(x)+g(x)}2+\frac{f(x)-g(x)}2\phi(x),$$if $\phi$ is any function that oscillates between $-1$ and $1$.

  • Just so the answer is clear to anyone else, here $f(x) = ce^{dx}$ and $g(x) = ae^{bx}$. – Jon Aug 16 '18 at 18:44
2

$$c\exp\left(dx+(bx-dx+\ln a-\ln c)\sin^2 x\right)$$ Edit $$ce^{dx}+(ae^{bx}-ce^{dx})\sin^2(kx)$$

Empy2
  • 50,853