a+b=1

a+b=1

conv = true
b = 0.67 (slider from 0 to 1, step 0.01)
a = 0.33 (slider from 0 to 1, step 0.01)
F_U(t) = If[t  <  (-1) / 2, 0, If[t  <  1 / 2, 2 / 3, 1]] - 0.010000000000000002
F_V(t) = If[t  <  (-1) / 2, 0, If[t  <  0, 1 - 4^((-t) - 1 / 2), If[t  <  1 / 2, 1 / 2, 1 - 4^((-t))]]]
F_X(t) = (1 / 3 * F_U(t)) + (2 / 3 * F_V(t))
c: a
d = If(conv, 1 - a, b)
F(t) = (c * F_U(t)) + (d * F_V(t))
Boolean = 1 (slider from -5 to 5, step 0.05)