什么是正弦值 为什么求正弦值要用DOUBLE来作为变量说明
数学不了。。麻烦说下。。谢谢#include<math.h>
#include<stdio.h>
main()
{
double x,s;
printf("input number:\n");
scanf("%lf",&x);
s=sin(x);
printf("sine of %lf is %lf\n",x,s);
}
只输入一个数值。。得出结果是怎么算的。。
数学不了。。麻烦说下。。谢谢
2009-10-09 00:14
2009-10-09 00:46
2009-10-09 09:13
2009-10-09 22:09

2009-10-10 06:37