Question
Let the function f : 0 , π → ℝ be defined by f θ = sin θ + cos θ 2 + sin θ - cos θ 4 . Suppose the function f has a local minimum at θ precisely when θ ∈ λ 1 π , … , λ r π , where 0 < λ 1 < ⋯ < λ r < 1 . Then the value of λ 1 + ⋯ + λ r is_______