1 answer
(click or scroll down)
Lots of choices, such as
g(x) = 2|x - 1/2|
g(1/2) = 1/3
g(x) = x^2+sin(2ฯx)/2
g(0.419) = 0.419