热门标签
更多>
搜索结果
查询Tags标签: axis1,共有 2条记录-
欧拉算法
import matplotlib.pyplot as plt targetX = 10.0 step = 0.1 axis1, axis2 = 0.0, 1.0 X, Y = [axis1], [axis2]def fun(axis1:float, axis2:float):return axis2 - 2 * axis1 / axis2while axis1 <= targetX:t1 = fun(axis1, axis2)t2 = fun(x + step, axis2 + t1 * …
2021/9/24 11:10:54 人评论 次浏览 -
欧拉算法
import matplotlib.pyplot as plt targetX = 10.0 step = 0.1 axis1, axis2 = 0.0, 1.0 X, Y = [axis1], [axis2]def fun(axis1:float, axis2:float):return axis2 - 2 * axis1 / axis2while axis1 <= targetX:t1 = fun(axis1, axis2)t2 = fun(x + step, axis2 + t1 * …
2021/9/24 11:10:54 人评论 次浏览