根据这个公式和数据,它的正确结果是1007.8A也就是说大约为1008A电流
下面有公式和数据,希望能与大家多多交流!!!
#include<stdio.h>
#include<math.h>
#define uint unsigned int
#define uchar unsigned char
void main()
{
double T,C,K,P,N,l,r,b,q,U,I1,R0,S;
R0=185e-3;
S=3600;
T=5;
C=2100;
K=3.35e5;
P=900;
N=3.14;
r=0.0072;
l=0.02;
b=400;
q=8940;
U=(C*T+K)*P*N(l*l+2r*l)+b*(T+2)*q*N*r*r;
I1=U/(R0*S);
scanf("%f=\n\n\n\n",sqrt(I1));
}
报错信息:
D:\VC++6.0\MyProjects\jjj000\jjj000.c(20) : error C2146: syntax error : missing ')' before identifier 'r'
D:\VC++6.0\MyProjects\jjj000\jjj000.c(20) : error C2059: syntax error : ')'
jjj000.exe - 1 error(s), 0 warning(s) |