結果 : how to write trig functions in python