111
This commit is contained in:
@@ -49,7 +49,7 @@ def AdamusFix(k,first_ys,x0,y0,h,xk,fxy,fx_real):
|
||||
|
||||
if __name__ == "__main__":
|
||||
# 定义初始值和参数#####################################################################################
|
||||
k = 3 # 阿达姆斯k+1步显式方法,精度为k+1阶,最常用k=3,其他阶数我没试过 P253
|
||||
k = 3 # 阿达姆斯k+1步校正方法,精度为k+1阶,最常用k=3,其他阶数我没试过 P253
|
||||
first_ys = [1, 1.0954, 1.1832, 1.2649] # 前几个y的值,可用龙格-库塔计算或者知道精确解自己算出来
|
||||
x0 = 0.0 # 初始x值
|
||||
y0 = 1.0 # 初始y值
|
||||
|
||||
Reference in New Issue
Block a user