I created a question for a high school calculus exam:
Find the $n$th derivative, $\dfrac{d^ny}{dx^n}$, for the function $y=\sin(kx)$, $n\in\mathbb{N}$.
The solution: \begin{align} \dfrac{d}{dx}\sin(kx)&=k\cos(kx) =k\sin k(x+\frac{\pi}{2})\\ \dfrac{d^2}{dx^2}\sin(kx)&=\dfrac{d}{dx}k\sin k(x+\frac{\pi}{2})=k^2\cos k(x+\frac{\pi}{2})=k^2\sin k(x+\pi)\\ \vdots \\ \dfrac{d^n}{dx^n}\sin(kx)&=k^n\sin k(x+\frac{n\pi}{2}) \end{align}
One of my students had asked me "Why did you include $n\in\mathbb{N}$ in the question? Does that mean it's possible to be asked for $n\in\mathbb{R}$ later on?"
I'm aware of the existence of the fractional derivative, but I'm unable to give it any meaning or explain it. So the problem I want to find a solution for is (and I'm totally aware that this is well beyond any high school calculus content):
Find the $n$th derivative for the function $y=\sin(kx)$, $n\in\mathbb{R}$.
BONUS: Find the $n$th derivative for the function $y=x^2e^x$, $n\in\mathbb{R}$.
On wikipedia you will find many different definitions and examples, of which not all will coincide. Some will even depend on different parameters that don't have any effect for natural $n$. Using the direct Grünwald–Letnikov derivative, we have:
\begin{align}\mathbb D^q\sin(kx)&=\lim_{h\to0}\frac1{h^q}\sum_{m=0}^\infty(-1)^m\binom qm\sin[k(x-mh)]\\&=\Im\lim_{h\to0}\frac1{h^q}\sum_{m=0}^\infty(-1)^m\binom qme^{ikx-ikmh}\\&=\Im\lim_{h\to0}\left[\frac{1-e^{-ikh}}h\right]^qe^{ikx}\\&=\Im[(ik)^qe^{ikx}]\\&=\Im[k^qe^{i(kx+q\pi/2)}]\\&=k^q\sin\left(kx+\frac{q\pi}2\right)\end{align}
as claimed. Similarly,
\begin{align}\mathbb D^qx^2e^x&=\lim_{h\to0}\frac1{h^q}\sum_{m=0}^\infty(-1)^m\binom qm(x-mh)^2e^{x-mh}\\&=\lim_{t\to1}\frac{\mathrm d^2}{\mathrm dt^2}\lim_{h\to0}\frac1{h^q}\sum_{m=0}^\infty(-1)^m\binom qme^{(x-mh)t}\\&=\lim_{t\to1}\frac{\mathrm d^2}{\mathrm dt^2}\lim_{h\to0}\left[\frac{1-e^{-ht}}h\right]^qe^{xt}\\&=\lim_{t\to1}\frac{\mathrm d^2}{\mathrm dt^2}t^qe^{xt}\\&=(x^2+2qx+q(q-1))e^x\end{align}