国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

整點散點積分,備用

2023-04-05 13:39 作者:韓言悅欣  | 我要投稿

往后打算做傅里葉級數(shù)的二位擬合。。numpy,scipy沒弄好,先墊上這些。

圖其實不準。。湊合用


import math,turtle

xy = [0,

? ? ? 0,1,

? ? ? 1,1,

? ? ? 2,1,

? ? ? 3,1,

? ? ? 4,1,

? ? ? 5,2,

? ? ? 6,3,

? ? ? 7,4,

? ? ? 8,5,

? ? ? 9,5,

? ? ? 10,4

? ? ? ]#0,x,y,x,y....

a = int(len(xy)/2)

c = 0

turtle.speed(speed=0)

turtle.penup()

turtle.goto(-300,0)

turtle.pendown()

turtle.goto(500,0)

turtle.goto(-500,0)

turtle.goto(-300,0)

turtle.goto(-300,500)

turtle.goto(-300,-500)

turtle.goto(-300,0)

for i in range(1,a):

? ? c = c + (xy[2*i+1]-xy[2*i-1])*(xy[2*i+2]+xy[2*i])/2

? ? turtle.goto(50*xy[2*i+1]-300,50*xy[2*i])

turtle.goto(50*(xy[2*i+1]+1)-300,50*xy[2*i+2])

print(c)


整點散點積分,備用的評論 (共 條)

分享到微博請遵守國家法律
利津县| 扎兰屯市| 无极县| 神木县| 尼木县| 黄陵县| 福贡县| 界首市| 浮梁县| 崇义县| 鹤壁市| 民县| 镇赉县| 威信县| 桂阳县| 临颍县| 金乡县| 三明市| 东乌珠穆沁旗| 万山特区| 清丰县| 承德县| 盈江县| 西峡县| 阿拉善盟| 井陉县| 驻马店市| 山阴县| 东源县| 宁安市| 马龙县| 吴江市| 德钦县| 康马县| 松江区| 安仁县| 高雄市| 涡阳县| 梓潼县| 阿勒泰市| 桐乡市|