用C语言写了个数学公式出现error C2064:term does not evaluate to a functiondouble N,Ra,S,S12;S12=579.5888;N=a*a/(b*sqrt(1+e12*cos(B1)*cos(B1)));Ra=N/(1+e12*cos(B1)*cos(B1)*cos(A1)*cos(A1));S=S12*sqrt((1-(H2-H1)*(H2-H1)/(S12*S12))/((1+H1/Ra)

来源:学生作业帮助网 编辑:作业帮 时间:2024/12/01 14:37:33
用C语言写了个数学公式出现error C2064:term does not evaluate to a functiondouble N,Ra,S,S12;S12=579.5888;N=a*a/(b*sqrt(1+e12*cos(B1)*cos(B1)));Ra=N/(1+e12*cos(B1)*cos(B1)*cos(A1)*cos(A1));S=S12*sqrt((1-(H2-H1)*(H2-H1)/(S12*S12))/((1+H1/Ra)
xSKAW!Yצ]˞<. خkg;dHQ Ba)K9jEү=Ay7yR.4:oDǭQ$[ +mҬ{;%I[3MQamݿeiHZ=-`K0H1QHd5S9Djr`cs5 ŘY5-j&<C(ƱCßL+L(O#ARFGq s}N a@!FqL;#osfFҌܒZ{W[Wlz[p*i?/ZZ5W+MGB?<_ >]kep9蔹Aj?bK|E4Mw"kީ6BLBB8>h)2-q sX3P

用C语言写了个数学公式出现error C2064:term does not evaluate to a functiondouble N,Ra,S,S12;S12=579.5888;N=a*a/(b*sqrt(1+e12*cos(B1)*cos(B1)));Ra=N/(1+e12*cos(B1)*cos(B1)*cos(A1)*cos(A1));S=S12*sqrt((1-(H2-H1)*(H2-H1)/(S12*S12))/((1+H1/Ra)
用C语言写了个数学公式出现error C2064:term does not evaluate to a function
double N,Ra,S,S12;
S12=579.5888;N=a*a/(b*sqrt(1+e12*cos(B1)*cos(B1)));Ra=N/(1+e12*cos(B1)*cos(B1)*cos(A1)*cos(A1));S=S12*sqrt((1-(H2-H1)*(H2-H1)/(S12*S12))/((1+H1/Ra)(1+H2/Ra)))+S12*S12*S12/(24*Ra*Ra);//S=S12*sqrt((1-((H2-H1)/S12)*((H2-H1)/S12))/((1+H1/Ra)(1+H2/Ra)))+S12*S12*S12/(24*Ra*Ra);printf("大地线长度S=%lf\n",S); 就是S=……这个公式

用C语言写了个数学公式出现error C2064:term does not evaluate to a functiondouble N,Ra,S,S12;S12=579.5888;N=a*a/(b*sqrt(1+e12*cos(B1)*cos(B1)));Ra=N/(1+e12*cos(B1)*cos(B1)*cos(A1)*cos(A1));S=S12*sqrt((1-(H2-H1)*(H2-H1)/(S12*S12))/((1+H1/Ra)
double N,Ra,S,S12;
S12=579.5888;
// a没有定义,也没有赋值,b没有定义和赋值,e12没有定义和赋值,B1没有定义和赋值
N=a*a/(b*sqrt(1+e12*cos(B1)*cos(B1)));
// A1没有定义和赋值
Ra=N/(1+e12*cos(B1)*cos(B1)*cos(A1)*cos(A1));
// H1、H2没有定义和赋值
S=S12*sqrt((1-(H2-H1)*(H2-H1)/(S12*S12))/((1+H1/Ra)(1+H2/Ra)))+S12*S12*S12/(24*Ra*Ra);
//S=S12*sqrt((1-((H2-H1)/S12)*((H2-H1)/S12))/((1+H1/Ra)(1+H2/Ra)))+S12*S12*S12/(24*Ra*Ra);
printf("大地线长度S=%lf\n",S);