Here are 2 scripts I did for 010
Tangent and Cosine
010 does not use a perfect C code so I had to adjust.
Cosine corrected..............
#define PI 3.14159265
double param, result;
param = 60.0;
result = Cos ( param );// Correct for SweetScape 010
Printf ("The cosine of %f degrees is %f.\n", param, result );
Tangent corrected..........
#define PI 3.14159265
double param, result;
param = 60.0;
result = Tan ( param );// Correct for SweetScape 010
Printf ("The Tangent of %f degrees is %f.\n", param, result );
|