add broken midpoint method solver