建珍大姐吧 关注:30贴子:602
  • 1回复贴,共1

这里是代码的真爱贴,喜欢代码的周周来顶

只看楼主收藏回复

先放一段py
import pylab as pl
a = []
b = []
step = 0.005
x = 0
n = 1 / step
y = 1
for i in range(int(n)+1):
a.append(x)
b.append(y)
y = y + step*(y**2 + x**2)
x += step
pl.plot(a,b,'o')
pl.title('step = 0.1')
pl.xlabel('x axis')
pl.ylabel('y axis')
pl.show()


IP属地:上海1楼2016-04-18 17:14回复
    yws😂


    IP属地:江苏来自Android客户端2楼2016-04-21 09:25
    回复