I only want the roots of the function to equal whole squares. So the function $\sin(\pi\times x)$ would not work, the roots can only be whole square numbers.
Asked
Active
Viewed 59 times
1 Answers
0
$$f(x) = \cases{\sin(\pi\sqrt{x}),& $x\ge 0$\cr x, & $x < 0$}$$ $$f(x) = 0\iff x\ge0, \sin(\pi\sqrt{x}) = 0\iff x\ge0,\pi\sqrt{x} = k\pi, k\in\Bbb Z\iff x = k^2, k\in\Bbb Z.$$ But the condition of periodicity is impossible.
Martín-Blas Pérez Pinilla
- 41,546
- 4
- 46
- 89
-
Can you explain this, I just need to have a function who's roots are only whole numbers squared, I need it as a tool for something, then I've solved the problem. – Jack Jan 08 '17 at 10:35
-
@Jack, see the edit. – Martín-Blas Pérez Pinilla Jan 08 '17 at 10:54