Calculates a monthly loan payment by defining a custom function with the standard amortization formula, showcasing a practical, real-world use case.