摘要: /*第二章 8. 编程计算下面多项式的近似值x^4+2x^3+3x^2+8x+7,x=3.47*/#include <stdio.h>#include <stdlib.h>#define X 3.47int main( void ){ printf("%f\n" , ( ( ( X + 2. ) * X + 3. ) * X + 8. ) * X + 7. ); system("PAUSE"); return 0;} 初学者在这个题目上容易犯的第一个错误是写出下面的表达式来求值X^4+2*X^3+3*X^2+8*X+7 这个表达式 阅读全文
posted @ 2011-06-15 19:57 键盘农夫 阅读(1659) 评论(0) 推荐(1) 编辑