結果 : python define mathematical function