# Math Help - critical value

1. ## critical value

Hello,

I try to define a function $f :[a,a+1]-> [q,p]$, with $a \in \mathbb{Z}, q,p \in \mathbb{Q}$, s.t. f is smooth and has a critical value in $q$ and $p$.

If we first assume that q< p:

$
f(t)=q+\frac{1}{exp(\frac{1}{(t-a)}-1)}*(p-q)$
for a+1>t>a and f(t)=q for t=a

but it doesn't work.

Ok this function is smooth and has a critical value at q. But not in p.

2. This might be what you are looking for:
Mollifier - Wikipedia, the free encyclopedia