Reachable workspace computation for planar revolute jointed arms