文件名称:diedaifa
介绍说明--下载内容均来自于网络,请自行研究使用
// 编程序 用迭代法求a的立方根,求立方根的迭代公式为 ::Xi+1=(2*Xi)/3+a/(3*Xi*Xi) 假定X的初值为a,迭代到|Xi+1-Xi|<10的-5次方为止. 显示a=3,27的值,并通过调用pow(a,1.0/3)函数加以验证.。-//Compile a program with Iteration Method and the cube root, find the cube root of the iteration formula is:: Xi+1 = (2* Xi)/3+ a/(3* Xi* Xi) assumes that the initial value of X is a iteration to | Xi+1- Xi | < 10 the-5 power up. shows the value of a = 3,27, and by calling pow (a, 1.0/3) function to be verified..
(系统自动生成,下载前可以参看下载内容)
下载文件列表
die dai fa.cpp