填空题
完善下面程序段,以使其完成以下数学函数的计算。
#include<stdio.h>
#include<math.h>
main()
{float x,y,f1,fun();
scanf("%f%f",&x,&y);
f1=x*x/fun(______);/*第一空*/
printf("A=%f\n",f1);
}
float fun(float f)
{float f2;
f2=f*f+sqrt(1+_____/*第二空*/+______);/*第三空*/
return(f2);
}
【参考答案】
exp(x-y)/*第一空。由语句"f1=x*x/fum(______);"知此处为函数A(x,y)的表达式。且函数fu......
(↓↓↓ 点击下方‘点击查看答案’看完整答案、解析 ↓↓↓)