結果 : how to write cos 2 in python