calculator for smartwatch 2-approximation