This might be what you are looking for:
Mollifier - Wikipedia, the free encyclopedia
I try to define a function , with , s.t. f is smooth and has a critical value in and .
Can you please help me? I try it with a lot functions, like this:
If we first assume that q< p:
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.
Thanks in advance!