Anfonwch hwn fel neges destun: Newton-Raphson Method to Find the Optimal Ordering