c语言求以下表达式"Y"的最大取值 abcd的取值范围分别(14-20,9-18,9-18,1-3),以0.5变化Y=6.785569264*a+9.340396972*b+7.593731986*c+39.64073295*d-0.58190086*a*b-0.472913347*a*c-2.486406882*a*d-0.660459314*b*c-3.417697717*b*d-2.4730
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/28 13:16:01
c语言求以下表达式"Y"的最大取值 abcd的取值范围分别(14-20,9-18,9-18,1-3),以0.5变化Y=6.785569264*a+9.340396972*b+7.593731986*c+39.64073295*d-0.58190086*a*b-0.472913347*a*c-2.486406882*a*d-0.660459314*b*c-3.417697717*b*d-2.4730
c语言求以下表达式"Y"的最大取值 abcd的取值范围分别(14-20,9-18,9-18,1-3),以0.5变化
Y=6.785569264*a+9.340396972*b+7.593731986*c+39.64073295*d-0.58190086*a*b-0.472913347*a*c-2.486406882*a*d-0.660459314*b*c-3.417697717*b*d-2.473025434*c*d+0.041062311*a*b*c+0.213019186*a*b*d+0.156605988*a*c*d+0.211619804*b*c*d-0.013513134*a*b*c*d-103.7706076
有劳各位了,在此先谢了.
c语言求以下表达式"Y"的最大取值 abcd的取值范围分别(14-20,9-18,9-18,1-3),以0.5变化Y=6.785569264*a+9.340396972*b+7.593731986*c+39.64073295*d-0.58190086*a*b-0.472913347*a*c-2.486406882*a*d-0.660459314*b*c-3.417697717*b*d-2.4730
#include "stdio.h"
void main()
{
float a,b,c,d,y,max=0;
for(a=14;a