is it possible to find cos60 in cprogram.how?

Microsoft Windows xp home edition
March 6, 2011 at 04:32:27
Specs: Windows XP, intel core 2dual/1gb
please give me a sample program

See More: is it possible to find cos60 in cprogram.how?

Report •


#1
March 6, 2011 at 08:08:03

Report •

#2
March 7, 2011 at 00:24:39
// Cosine example

#include <stdio.h>
#include <math.h>
int main()
{

printf("The cosine of %f is %f.\n",0.5,cos(0.5));
printf("The cosine of %f is %f.\n",1.0,cos(1.0));
printf("The cosine of %f is %f.\n",-1.0,cos(-1.0));
return 0;
}


=====================================
Life is too important to be taken seriously.

M2


Report •

Related Solutions


Ask Question