using namespace std;
int main (int argc, const char * argv[])
{
double x = 0;
const UINT M = 1000;
for(UINT i=0; i<M; i++){
double signal = sin( x );
cout << signal << "\t" <<deriv1Value << "\t" << deriv2Value << endl;
x += TWO_PI/double(M)*10;
}
deriv1.
save(
"Derivative1Settings.grt");
deriv2.
save(
"Derivative2Settings.grt");
deriv1.
load(
"Derivative1Settings.grt");
deriv2.
load(
"Derivative2Settings.grt");
return EXIT_SUCCESS;
}