把数学式写成C语言表达式
问题描述:
把数学式写成C语言表达式
答
(1) 3.26*exp(x)+1.0/3.0*pow((a+b),4)(2) 2*sqrt(x)+(a+b)/(3.0*sin(x))(3) g*m1*m2/(r*r)(4) double pi = 3.142.0*pi*r + pi*r*r + cos(45.0*pi / 180.0 )(5) loan * rate * pow( (1+rate) ,month ) / ( pow( (1+r...