登录
首页 » 算法 » 原题:编写一个子程序NewTon(float x0,float eps,float x1)。它的功能是用牛顿迭代法求f(x)=x*x*x...

原题:编写一个子程序NewTon(float x0,float eps,float x1)。它的功能是用牛顿迭代法求f(x)=x*x*x...

于 2022-10-05 发布 文件大小:10.22 kB
0 177
下载积分: 2 下载次数: 1

代码说明:

原题:编写一个子程序NewTon(float x0,float eps,float x1)。它的功能是用牛顿迭代法求f(x)=x*x*x-2x*x+4x+1在x=0附近的一个实根。若迭代成功,则返回费0值;否则,返回0。-original title : the preparation of a subroutine NewTon (x0 float, float eps, float x1). Its function is to use Newton"s iterative method for f (x) = x* x* x-2x 4x* x 1 x = 0 in the vicinity of a real roots. If successful iteration, the returned value fees 0; Otherwise, the return 0.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 插值、拟合与规划问题 插值、拟合与规划问题
    插值、拟合与规划问题 插值、拟合与规划问题-Interpolation, fitting with the planning of interpolation, fitting and planning issues
    2022-01-27 16:00:47下载
    积分:1
  • double类型的3维矢量运类库,具有加、减、点积、叉积、除、取模、单位化功能。...
    double类型的3维矢量运算类库,具有加、减、点积、叉积、除法、取模、单位化功能。 -double types of 3-D vector operation library is, plus or minus, plot points, fork plot, division, from mold, Function units.
    2022-07-01 02:43:43下载
    积分:1
  • 人脸识别PCA
    PCA是最经典的算法,是很适合用于人脸识别的,而且可以有效地降维,提起特征值。
    2022-08-26 14:37:35下载
    积分:1
  • 排列熵
    能很好的分析非线性时间序列。熵(entropy)指的是体系的混乱的程度,它在控制论、概率论、数论、天体物理、生命科学等领域都有重要应用,在不同的学科中也有引申出的更为具体的定义,是各领域十分重要的参量.
    2022-05-19 21:19:57下载
    积分:1
  • 给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致...
    给定一块宽度为W的矩形板,矩形板的高度不受限制。现需要从板上分别切割出n个高度为hi,宽度为wi的矩形零件。切割的规则是零件的高度方向与矩形板的高度方向保持一致。要求求出一种切割法使得所使用的矩形板的高度h最小.用递归及分治法解此问题-given a width of the rectangular plate W, the height of rectangular plate unrestricted. Board is required from the respective cut out n height of the hi, wi width of the rectangular parts. Cutting parts to the rules of the height of the rectangular plate with a high degree of consistent direction. Asked obtained a law made by cutting the use of the rectangular plate height h minimum. Using recursive and partition Solving this problem
    2022-10-31 04:20:03下载
    积分:1
  • -贝尔曼-福特
    algoritm - 贝尔曼 - 福特。  这是如何运作的?像其他动态规划问题,该算法计算自下而上地的最短路径。它先计算出的最短距离为具有在路径中在最一个边缘的最短路径。然后,它计算与在-NOST2的边缘,依此类推最短路径。外循环的第i次迭代后,用至多我边计算出的最短路径。可以有最大| V | - 在任何简单的路径1的边缘,这就是为什么在外循环运行的| v| - 1次。我们的想法是,假设不存在负权重周期,如果我们已经计算了最短路径至多我的边缘,然后迭代在所有边的保证,得到最短路径与在最第(i +1)个边(证明是简单,你可以参考这个或麻省理工学院的视频讲座)
    2022-08-15 15:32:57下载
    积分:1
  • Matrix Operation
    矩阵 operation:given 选项输入矩阵上升到 5 由 5 维度中。1 添加,2) 减去,3) 转置,4) 相乘
    2022-06-20 06:51:29下载
    积分:1
  • 塔勒除雾
    基于fattal 的去雾算法修改而来去雾气算法,原始算法来源于  Single image dehazing这篇论文,代码中也附带了这篇论文,做去雾的朋友可以学习下。
    2022-12-11 15:10:04下载
    积分:1
  • 一个程序来寻找频繁项集(关闭和最大)与Eclat
    A program to find frequent itemsets (also closed and maximal) with the eclat algorithm ,which carries out a depth first search on the subset lattice and determines the support of itemsets by intersecting transaction lists. -A program to find frequent itemsets (also c losed and maximal) with the eclat algorithm, which carries out a depth first search on the sub set lattice and determines the support of items ets by intersecting transaction lists.
    2022-02-20 07:32:43下载
    积分:1
  • 三次样条插值函数
    计算三次样条插值函数-Calculation of cubic spline interpolation function
    2022-02-25 17:32:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载