Function2

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