float horner_sin(float x) //horner_sin is a func taking float as input { float y; //the output y could be float y=x*(1+x*x*(-((1/6)-(x*x/120)))); //representing horner form of sin return y; //the horner form returns a value y which is float }