#include "header.h" float MySin (float x) { float Mvalue; Mvalue = x-x*x*x/6.0+x*x*x*x*x/120.0-x*x*x*x*x*x*x/5040; //Maclaurin polynomial of sin(x) return Mvalue; }