Function2

Function2繼承AbstractDrawFunction 的abstract method, override method f
,改寫成Function2的算法(sin(x))