結果 : what is a user defined function with an example