Sine and procedural sum