一道关于牛顿迭代法的数值问题,题目是英文的,没有头绪,In celestial mechanics,Kelper `s equation is important.It reads x=y-msiny,in which x is a planet`s mean anomaly,y is eccentric anomaly,and m is the eccentricity of its orbit.T

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/28 23:29:29

一道关于牛顿迭代法的数值问题,题目是英文的,没有头绪,In celestial mechanics,Kelper `s equation is important.It reads x=y-msiny,in which x is a planet`s mean anomaly,y is eccentric anomaly,and m is the eccentricity of its orbit.T
一道关于牛顿迭代法的数值问题,题目是英文的,没有头绪,
In celestial mechanics,Kelper `s equation is important.It reads x=y-msiny,in which x is a planet`s mean anomaly,y is eccentric anomaly,and m is the eccentricity of its orbit.Taking m=0.9,construct a table of y for 30 equally spaced values of x in the interval 0

一道关于牛顿迭代法的数值问题,题目是英文的,没有头绪,In celestial mechanics,Kelper `s equation is important.It reads x=y-msiny,in which x is a planet`s mean anomaly,y is eccentric anomaly,and m is the eccentricity of its orbit.T
y-msiny-x=0,其中m=0.9,0<=x<=π,x所属区间分成30等份,对每个x用牛顿法求y.
Java代码:
public class Newton {
  public static final double EPSILON = 1e-15;
  private static double f(double x, double y) {
    return y - 0.9 * Math.sin(y) - x;
  }
  // y - 0.9*Math.sin(y) - x,x取固定值,对y求导后为 1 - 0.9 * Math.cos(y)
  private static double d(double y) {
    return 1 - 0.9 * Math.cos(y);
  }
  public static double root(double x) {
    double y = 1;
    while (Math.abs(f(x, y) / d(y)) > EPSILON) {
      y = y - f(x, y) / d(y);
    }
    return y;
  }
  public static void main(String[] args) {
    double xStep = Math.PI / 30;
    for (int i = 0; i <= 30; i++) {
      double x = xStep * i;
      double y = root(x);
      System.out.println("x: " + x + ", y=: "+ y);
    }
  }
}

一道关于牛顿迭代法的数值问题,题目是英文的,没有头绪,In celestial mechanics,Kelper `s equation is important.It reads x=y-msiny,in which x is a planet`s mean anomaly,y is eccentric anomaly,and m is the eccentricity of its orbit.T 关于牛顿迭代法及Levenberg-Marquardt算法请问谁有高斯牛顿迭代法或者Levenberg-Marquardt算法的程序?万分感激啊. 牛顿迭代法的具体算法 牛顿迭代法是?它的解精确度有多高? 用牛顿迭代法能求一元n次方程的所有根么比如说一元三次方程,三个根不同,用牛顿迭代法只能求出其中一个实根,另外两个根怎么求?如果有复根呢?能不能求?但迭代法求出的是数值解,而且有 求一个简单的C程序,数值分析题目,1.求下述方程的实根.X^2-3X+2-e^x=0取精度为小数点后八位,(即10^-8).a.设计一种收敛的不动点迭代法,用埃特金加速迭代法求根.取初始值X0=1.b.用牛顿迭代法求解, 割线法是牛顿迭代法吗? 一般迭代法求方程的近似解的思路不是那个牛顿迭代法.要的是思路 牛顿迭代法的收敛条件是什么? 具体描述一下牛顿迭代法的使用方法 用牛顿迭代法求115的平方根 牛顿迭代法什么样的函数 不适用 牛顿迭代法停止迭代的条件 Matlab 牛顿加速迭代法 急…………Matlab 牛顿加速迭代法 急…………记住是 牛顿“加速”迭代法解方程是x=e^(-x)在x=0.5附近的根 matlab牛顿迭代法求方程根程序求大神帮写个牛顿迭代法解方程的程序. 谁可以告诉我牛顿的迭代法是如何解方程的?希望可以举例说明, 计算方法问题写出非线性方程的牛顿迭代公式,并证明当x*为单根时,牛顿迭代法在根x*的附近至少是二阶收敛的后个证明是重点哦 数值分析课程设计,编制一般迭代法、牛顿法、弦截法求解方程组的计算机程序,并分析它们的特点不过,有matlab编写的程序吗?