Hxc Scaling Algorithm Applied To First And Second Order Ordinary Differential Equations