結果 : general solution for trig functions