Function And Method Difference In Math