有谁能把1 2 空填上的?或者说下 原表达式里是否有错误/* Question:call a function f to compute the value of algebra polynomial1.1 +2.2 * x +3.3 * x * x +4.4 * x * x * x +5.5 * x * x * x * when x = 1.7 */#include float f(float,float*
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/30 07:03:14
![有谁能把1 2 空填上的?或者说下 原表达式里是否有错误/* Question:call a function f to compute the value of algebra polynomial1.1 +2.2 * x +3.3 * x * x +4.4 * x * x * x +5.5 * x * x * x * when x = 1.7 */#include float f(float,float*](/uploads/image/z/8803807-7-7.jpg?t=%E6%9C%89%E8%B0%81%E8%83%BD%E6%8A%8A1+2+%E7%A9%BA%E5%A1%AB%E4%B8%8A%E7%9A%84%3F%E6%88%96%E8%80%85%E8%AF%B4%E4%B8%8B+%E5%8E%9F%E8%A1%A8%E8%BE%BE%E5%BC%8F%E9%87%8C%E6%98%AF%E5%90%A6%E6%9C%89%E9%94%99%E8%AF%AF%2F%2A+Question%3Acall+a+function+f+to+compute+the+value+of+algebra+polynomial1.1+%2B2.2+%2A+x+%2B3.3+%2A+x+%2A+x+%2B4.4+%2A+x+%2A+x+%2A+x+%2B5.5+%2A+x+%2A+x+%2A+x+%2A+when+x+%3D+1.7+%2A%2F%23include+float+f%28float%2Cfloat%2A)
有谁能把1 2 空填上的?或者说下 原表达式里是否有错误/* Question:call a function f to compute the value of algebra polynomial1.1 +2.2 * x +3.3 * x * x +4.4 * x * x * x +5.5 * x * x * x * when x = 1.7 */#include float f(float,float*
有谁能把1 2 空填上的?或者说下 原表达式里是否有错误
/* Question:call a function f to compute the value of algebra polynomial
1.1 +2.2 * x +3.3 * x * x +4.4 * x * x * x +5.5 * x * x * x * when x = 1.7 */
#include
float f(float,float*,int);
void main()
{ float b[5]={1.1,2.2,3.3,4.4,5.5};
printf("%f\n",f(1.7,b,5));
}
float f( _______1________ )
{ float y=a[0],t=1; int i;
for(i=1;i
有谁能把1 2 空填上的?或者说下 原表达式里是否有错误/* Question:call a function f to compute the value of algebra polynomial1.1 +2.2 * x +3.3 * x * x +4.4 * x * x * x +5.5 * x * x * x * when x = 1.7 */#include float f(float,float*
/* Question:call a function f to compute the value of algebra polynomial
1.1 +2.2 * x +3.3 * x * x +4.4 * x * x * x +5.5 * x * x * x * x?when x = 1.7 */
#include
float f(float,float*,int);
void main()
{ float b[5]={1.1,2.2,3.3,4.4,5.5};
printf("%f\n",f(1.7,b,5));
}
float f(float x,float a[],int n)
{ float y=a[0],t=1; int i;
for(i=1;i