import math
import matplotlib.pyplot as plt
#------------------------------------
def setup_T(min_t, max_t, dt):
T = []; t = min_t
while t <= max_t:
T.append(t)
t += dt
if t != max_t: T.append(max_t)
return T
#------------------------------------
def plot(x, y, min_t, max_t, dt):
T = setup_T(min_t, max_t, dt)
X = [x(t) for t in T]
Y = [y(t) for t in T]
plt.plot( X, Y, 'blue' )
#====================================
Prog-02:Beautiful Parametric Equation
?????????? นาย???? ????
$ x(t) = cos(80t) - (cos(t))^3 $
$ y(t) = sin(80t) - (sin(t))^3 $
โปรแกรมวาดลวดลายที่สวยงามน่าดึงดูดให้ชวนมอง
ผมขอยืนยันว่าผมเป็นคนเลือกสมการคณิตศาสตร์ข้างต้นด้วยตัวเอง
def x(t):
xt = math.cos(80*t) - math.cos(t)**3
return xt
def y(t):
yt = math.sin(80*t) - math.sin(t)**3
return yt
plot(x, y, -10, 10, 0.01)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย???? ????
$x(t) = math.cos(7*t)*math.cos(11*t)$
$y(t) = math.cos(7t)math.sin(11*t)
โปรแกรมที่เกิดจากความสวยงามของมสการ parametric มีความเป็นระเบียบสวยงาม
ขอยืนยันว่าข้าพเจ้าได้เขียนโปรแกรมนี้ด้วยตนเอง
def x(t):
xt = math.cos(7*t)*math.cos(11*t)
return xt
def y(t):
yt = math.cos(7*t)*math.sin(11*t)
return yt
plot(x, y, 0, 2*math.pi, 0.01)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$x(t)=(math.sin(t))*((math.exp(math.cos(t))-(2**(math.cos(4t)))-((math.sin(t/12))**5))$
$y(t)=(math.cos(t))*((math.exp(math.cos(t))-(2**(math.cos(4t)))-((math.sin(t/12))**5))$
โปรแกรมนี้มีศิลปะชั้นยอดอยู่ถูกวาดด้วนคนที่มีฝีมืออันล้ำเลิศ
ฉันเป็นผู้เลือกสมการด้านบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง
def x(t):
xt = (math.sin(t))*((math.exp(math.cos(t)))-(2*(math.cos(4*t)))-((math.sin(t/12))**5))
return xt
def y(t):
yt =(math.cos(t))*((math.exp(math.cos(t)))-(2*(math.cos(4*t)))-((math.sin(t/12))**5))
return yt
plot(x, y, 0, 6*math.pi, 2)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$x(t)=cos(t)-cos(t)sin(60t)$
$y(t)=2sin(t)-sin(60t)$
โปรแกรมนี้แสดงลวดลายได้สวยงาม
ผมเป็นผู้เลือกสมกำรข้ำงบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง
def x(t):
xt = math.cos(t)-math.cos(t)*math.sin(60*t)
return xt
def y(t):
yt = 2*math.sin(t)-math.sin(60*t)
return yt
plot(x, y, -8, 8, 0.01)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นางสาว???? ????
$x(t)=sin(t)(e^cos(t)-2cos(4t)-sin(t/12)^5)$
$y(t)=cos(t)(e^cos(t)-2cos(4t)-sin(t/12)^5)$
โปรแกรมนี้วาดลวดลายเป็นรูปผีเสื้อ
ฉันเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง
def x(t):
xt = math.sin(t)*(math.e**math.cos(t)-2*math.cos(4*t)-(math.sin(t/12))**5)
return xt
def y(t):
yt = math.cos(t)*(math.e**math.cos(t)-2*math.cos(4*t)-(math.sin(t/12))**5)
return yt
plot(x, y, 0, 12*math.pi, 0.1)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$x(t) = 6sin(13.58t)(cos(cos(7.4t)))^(1/2)$
$y(t) = 6((cos(13.58t))^4)sin(sin(7.4t))$
โปรแกรมนี้เป็นโปรแกรมที่แสดงรูปที่มีความงดงามอย่างมาก
ดิฉันขอยืนยันว่า ดิฉันเป็นผู้เลือกและเขียนนิพจน์ทางคณิตศาสตร์ด้วยตัวเอง
def x(t):
xt = 6*math.sin(13.58*t)*((math.cos(math.cos(7.4*t)))**(1/2))
return xt
def y(t):
yt = 6*(math.cos(13.58*t)**4)*math.sin(math.sin(7.4*t))
return yt
plot(x, y, -8, 8, 0.001)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$ x(t) = cos(80t)-cos^3(t) $
$ y(t) = sin(t)-sin^3(80t) $
โปรแกรมวาดกราฟได้อย่างสวยงามเหนือคำบรรยาย
ผมขอยืนยันว่า เป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง
def x(t):
xt = math.cos(80*t) - math.cos(t)**3
return xt
def y(t):
yt = math.sin(t) - math.sin(80*t)**3
return yt
plot(x, y, -7, 7, 0.001)
plt.show()
Prog-02: Superhero mask Paremetric Equation
??????????
$x(t) = 2sin(sin(2.8t))cos(2.16t)^2$
$y(t) = 4cos(2.16t)^2.5$
โปรเเกรมได้เเรงบันดาลใจจากหน้ากาของตัวการ์ตูนในวัยเด็กซึ่งหาดูได้ยากในทุกวันนี้
ผมขอยืนยันว่าผมเป็นผู้เลือกสมการข้างบนเเละเขียนนิพจน์คณิตศาสร์ด้วยตัวเอง
def x(t):
xt = 2 * math.sin(math.sin(2.8*t)) * math.cos(2.16*t)**2
return xt
def y(t):
yt = 4 * math.cos(2.16*t)**2.5
return yt
plot(x, y, -4, 4, 0.01)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย???? ????
$ x(t)=4cos(t)+ cos(4t) $
$ y(t)=4sin(t)- sin(4t) $
โปรแกรมนี้วาดลวดลายอ่อนช้อยสวยงามสะดุดตา
ผมเป็นผู้เลือกสมกำรข้ำงบนและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง
def x(t):
xt = 4*math.cos(t) + math.cos(4*t)
return xt
def y(t):
yt = 4*math.sin(t) - math.sin(4*t)
return yt
plot(x, y, -120, 120, 0.001)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย???? ????
โปรแกรมนี้วำดลวดลำยอ่อนชอ้ยสวยงำมสะดุดตำ
ผมเป็นผู้เลือกสมกำรข้ำงบนและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง
$x(t) = (cos(20t)+cos(17t)/2)+(sin(20t)/3)$
$y(t) = (sin(20t)+sin(17t)/2)+(cos(20t)/3)$
def x(t):
xt = (math.cos(20*t)+math.cos(17*t)/2)+(math.sin(20*t)/3)
return xt
def y(t):
yt = (math.sin(20*t)+math.sin(17*t)/2)+(math.cos(20*t)/3)
return yt
plot(x, y, -6, 6, 0.021)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย ???? ????
$ 6sin(13.58t)round(sqrt(cos(cos(7.4t)))) $
$ 6cos(13.58t)^4sin(sin(7.4t))$
เป็นรูปที่ผมคิดว่ามีมิติที่ดี และมันมหัศจรรย์มากๆเมือสร้างรูปภาพสามมิติด้วยสมการ
ผมเป็นคนเลือกภาพนี้เองครับ และเขียนสมการด้านบนด้วยตัวเองขอบคุณครับ
def x(t):
xt = 6*(math.sin(13.58*t))*round((math.cos(math.cos(7.4*t)))**(1/2))
return xt
def y(t):
yt = 6*(math.cos(13.58*t))**4*math.sin(math.sin(7.4*t))
return yt
plot(x, y, -8, 8, 0.001)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$ x(t) = cos(16t) + cos(6t)/2 + sin(10t)/3 $
$ y(t) = sin(16t) + sin(6t)/2 + cos(10t)/3 $
ดิฉันเป็นคนเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง
def x(t):
xt = math.cos(16*t) + math.cos(6*t)/2 + math.sin(10*t)/3
return xt
def y(t):
yt = math.sin(16*t) + math.sin(6*t)/2 + math.cos(10*t)/3
return yt
plot(x, y, -120, 120, 0.0001)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย???? ????
$x(t) = sin(t)(sin^5(t/12)+e^cos(t)-2cos(4t))$
$y(t) = cos(t)(sin^5(t/12)+e^cos(t)-2cos(4t))$
ผีเสื้อในโปรแกรม Python สวยสุดๆไปเลยครับ
ผมเป็นคนเลือกสมการเองและเขียนนิพจน์ด้วยตัวเองครับ
def x(t):
xt = math.sin(t)*(math.sin((t/12)**5)+(math.e**math.cos(t))-2*math.cos(4*t))
return xt
def y(t):
yt = math.cos(t)*(math.sin((t/12)**5)+(math.e**math.cos(t))-2*math.cos(4*t))
return yt
plot(x, y, -6, 6, 0.001)
plt.show()
Prog-02: Beautiful Parametric Equatiom
?????????? นาย???? ????
$x(t)=cos(t)-cos(t)^3$
$y(t)=sin(t)-sin(t)^3$
โปรแกรมนี้วาดลวดลายแนวอาร์ตที่เข้าถึงได้ง่าย,สวยงานอร่ามแท้สะดุดตาถึงที่สุดและไม่เหมือนใคร
ผมเป็นผู้เลือกสมการแต่แก้ไขค่าเริ่มต้นและค่าสิ้นสุดเองให้แปลกใหม่กว่าใคร
def x(t):
xt = math.cos(t) - math.cos(t)**3
return xt
def y(t):
yt = math.sin(t) - math.sin(t)**3
return yt
plot(x, y, 1, 80, 0.5, )
plt.show()
Prog-02 : Beautiful Parametric Equation
?????????? นาย???? ????
$x(t) =(10cos(5t)-(5.31sin(20t)-5.31cos(100t)))$
$y(t) =(10cos(5t)-(5.31sin(20t)-5.31sin(100t)))$
โปรแกรมนี้วาดรูปได้สวยสุดยอดมากๆเลยครับ
ผมเป็นคนเลือกสมการข้างต้นและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเองครับ
def x(t):
xt =(10*math.cos(5*t)-(5.31*math.sin(20*t)-5.31*math.cos(100*t)))
return xt
def y(t):
yt =(10*math.cos(5*t)-(5.31*math.sin(20*t)-5.31*math.sin(100*t)))
return yt
plot(x, y, 20, 30, 0.01)
plt.show()
Prog-02: Beatiful Parametic Equation
?????????? ???? ????
$x(t)=cos(t)-cos^3(80t)$
$y(t)=sin(80t)-sin^4(80t)$
โปรแกรมนี้สีสดสะดุดตามากๆ
ผมขอยืนยันว่าผมเป็นคนทำและเลือกสมการข้างบนด้วยตัวเอง
def x(t):
xt = math.cos(1*t) - (math.cos(80*t))**3
return xt
def y(t):
yt = math.sin(80*t) - (math.sin(80*t))**4
return yt
plot(x, y, 0, math.pi, 0.00001)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$x(t)=11cos(t)-6cos(11/6)t$
$y(t)=11sin(t)-6sin(11/6)t$
วงกลมที่ไม่เต็มซ้อนกัน
ผมป็นผู้เลือกและเขยีนพิจน์คณิตศาสตร์ของสมกำรที่เลือก
def x(t):
xt = 11*math.cos(t) - 6*math.cos((11/6)*t)
return xt
def y(t):
yt = 11*math.sin(t) - 6*math.sin((11/6)*t)
return yt
plot(x, y, -15, 15, 0.1)
plt.show()
Prog-02: Beautiful Parametric Equation
633122621 ???? ????
$ x = cos(2t) - cos(t)sin(2t) $
$ y = 2sin(2t)-sin(t) $
โปรแกรมนี้กราฟที่มี
ขอยืนยันว่าดิฉันเป็นผู้เขียนโปรแกรมนี้ด้วยตนเอง
def x(t):
xt = math.cos(2*t)-math.cos(t)*math.sin(2*t)
return xt
def y(t):
yt = 2*math.sin(2*t) - math.sin(t)
return yt
plot(x, y, 0, 60, 1)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย???? ????
$x(t)=11cos(t)-6cos(11t/6)$
$x(t)=11sin(t)-6sin(11t/6)$
ผมขอยืนยันว่า ผมเป็นผู้เลือกสมการข้างล่างนี้และเขียนนิพจนืคณิตศาสตร์ด้วยตัวเองทั้งหมด
def x(t):
xt = (11*math.cos(t))-(6*math.cos(11*t/6))
return xt
def y(t):
yt = (11*math.sin(t))-(6*math.sin(11*t/6))
return yt
plot(x, y, -100, 10, 0.001)
plt.show()
Prog-02: Beautiful Parametric Equations
?????????? ภูมิพํฒน์ ????
$x(t)=cos(t)+cos(80t)^3$
$y(t)=sin(t)+sin(40t) ^4$
โปรแกรมวาดลวดลายชวนมึนหัว
ผมเป็นผู้เลือกสมการและเขียนนิพจน์คณืตศาสตร์ด้วยตัวเอง
R = -math.pi
r = -2
d = math.exp(2)
def x(t):
xt = math.cos(t)+math.cos(t*80)**3
return xt
def y(t):
yt = math.sin(t)+math.sin(t*40)**4
return yt
plot(x, y, -170, 170, 0.0799995555)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
xt=2sin(t)cos(t)^3
yt=2cos(t)sin(t)^2
โปรแกรมนี้ได้มาจากการลองผิดลองถูกของข้าพเจ้าจนเกิดภาพที่น่าประทับใจขึ้น
ข้าพเจ้าขอยืนยันว่าเลือกสมการนี้ขึ้นมาเอง และเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง
def x(t):
xt = 2*math.sin(t)*math.cos(t)**3
return xt
def y(t):
yt = 2*math.cos(t)*math.sin(t)**2
return yt
plot(x, y, -5, 5, 0.2)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$ x(t)=((pi-1)cos(t))+(cos((pi-1)t)) $
$ y(t)=((pi-1)sin(t))-(sin((pi-1)t)) $
โปรแกรมนี้แสดงกราฟที่สวยมาก ประหนึ่งพลุในคืนข้ามปีที่ดูกับคนคนนั้นที่อยู่ในหัวใจ
ข้าพเจ้าขอยืนยันว่าตนเองได้เป็นผู้เลือกและเขียนนิพจน์คณิตศาสตร์ของสมการที่เลือก
def x(t):
xt = (math.pi-1)*math.cos(t) + math.cos((math.pi-1)*t)
return xt
def y(t):
yt = (math.pi-1)*math.sin(t) - math.sin((math.pi-1)*t)
return yt
plot(x, y, -44, 44, 0.001)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย???? ????
$x(t)=cos(10t)+\frac{cos(10t)}{2}+\frac{sin(19t)}{3}$
$y(t)=sin(10t)+\frac{sin(10t)}{2}+\frac{cos(19t)}{3}$
โปรแกรมนี่เป็นโปรแกรมที่น่าอัศจรรย์ และแสดงภาพได้อย่างสวยงาม
สมการข้างบนเป็นสมการที่ผมใช้เวลาพินิจพิจารณาหามาด้วยตัวเอง และเขียนนิพจน์คณิตศาสตร์ด้วยมือของตัวผมเอง
def x(t):
xt = math.cos(10*t)+(math.cos(10*t)/2)+(math.sin(19*t)/3)
return xt
def y(t):
yt = math.sin(10*t)+(math.sin(10*t)/2)+(math.cos(19*t)/3)
return yt
plot(x, y, 0, 2*math.pi, 0.01)
plt.show()
Prog-02. Beautiful Parametric Equation
?????????? นาย???? ????
$ x(t) = 11cos(t) − 6cos((11/6)t)$
$ y(t) = 15sin(t) − 6sin((11/6)t)$
โปรมแกรมนี้สามารถวาดกราฟที่มีลวดลายสวยตรึงใจ
กระผมเป็นคนเลือกสมการและเขียนนิพจน์เช่นนี้ด้วยตนเองครับ
def x(t) :
xt = 11*math.cos(t) - 6*math.cos(11/6*t)
return xt
def y(t) :
yt = 11*math.sin(t) - 6*math.sin(11/6*t)
return yt
plot(x, y,-20, 20, 0.01)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$ x(t) = 1cos(1t) - cos(1t)sin(60t) $
$ y(t) = 2sin(56t) - sin(60t) $
โปรแกรมช่วยทำให้รูปร่างหน่าตาของกราฟออกมาสวยงาม
ข้าพเจ้าเป็นผู้เลือกและเขียนนิพจน์คณิตศาตร์ของสมการที่เลือกด้วยตัวเอง
def x(t):
xt = 1*math.cos(1*t) - math.cos(1*t) * math.sin(60*t)
return xt
def y(t):
yt = 2*math.sin(56*t) - math.sin(60*t)
return yt
plot(x, y, -80, 80, 0.001)
plt.show()
Prog-02 : Beautiful Parametric Equation
?????????? นาย???? ????
$ x(t) = (a-b)cos(t) + bcos(((a-b)t)/b) $
$ y(t) = (a-b)sin(t) + bsin(((a-b)t)/b) $
โปรมแกรมนี้แสดงออกซึ่งผลลัพธ์ที่สวยงามแต่เรียบง่าย สามารถสื่อความหมายได้ง่ายเเละชัดเจน
ผมขอยืนยันอีกครั้งว่าผมได้ทำการเลือกสมการและทำการเขียนนิพจน์ทางคณิตศาสตร์ของสมการที่เลือกด้วยตัวของผมเอง
def x(t):
xt = (a-b)*math.cos(t) + b*math.cos(((a-b)*t)/b)
return xt
def y(t):
yt = (a-b)*math.sin(t) + b*math.sin(((a-b)*t)/b)
return yt
plot(x, y, 0 , 6*math.pi, 0.0003)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นางสาว???? ????
$x(t)=sin(2t)+3sin(t)$
$y(t)=2sin(3t)$
โปรแกรมนี้แสดงรูปที่งดงามเป็นอย่างยิ่ง
อนึ่ง ข้าพเจ้าขอยืนยันว่าข้าพเจ้าเป็นผู้เลือกสมการและเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง
def x(t):
xt = math.sin(2*t) + 3*math.sin(t)
return xt
def y(t):
yt = 2*math.sin(3*t)
return yt
plot(x, y, 0, 2*math.pi, 0.01)
plt.show()
prog-02: Beautiful Parametric Equation
?????????? ???? ????
$x(t)=3 cos(cos(7.32 round(t))) 1.2 (1 + cos(16.6 t))$
$y(t)=3 sin^2(16.6 t) sin(7.32 t)$
โปรแกรมนี้ใช้ในการวาดลวดลายอันสวยงาม
ผมนาย???? ????เป็นคนเลือกสมการข้างต้นมาด้วยตนเอง
def x(t):
xt = 3*math.cos(math.cos(7.32*round(t)))*1.2*(1 + math.cos(16.6*t))
return xt
def y(t):
yt = 3*math.sin(16.6*t)**2*math.sin(7.32*t)
return yt
plot(x, y, -2.5, 2.5, 0.01)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$ x(t)=4cos(-11t/4)+7cos(t) $
$ y(t)=4sin(-11t/4)+7sin(t) $
โปรแกรมนี้ววาดด้วยความโค้งงาม
ผมเป็นผู้เลือกและเขียนสมการข้างต้นด้วยตนเอง
def x(t):
xt = 4*math.cos((-11*t/4))+7*math.cos(t)
return xt
def y(t):
yt = 4*math.sin((-11*t/4))+7*math.sin(t)
return yt
plot(x, y, 0, 8*math.pi, 0.01)
plt.show()
prog-02:Beautiful Parametric Equation
?????????? ???? ????
$x(t)=4cos(-11t/4)+7cos(t)$
$y(t)=4sib(-11t/4)+7sin(t)$
โปรแกรมนี้ให้รูปที่สวยงาม บาดตามาก สวยจับใจ
ผมเป็นคนเลือกสมการนี้มาด้วยตัวเองและเขียนด้วยตนเอง
def x(t):
xt = 4*math.cos(-11/4*t)+7*math.cos(t)
return xt
def y(t):
yt = 4*math.sin(-11/4*t)+7*math.sin(t)
return yt
plot(x, y, 0,100, 0.01)
plt.show()
Prog-02: Beautiful Parametric Equations
?????????? ???? ????
$x(t)=4 \cos (-100t/4)+7 \cos (t)$
$y(t)=4 \sin (-100t/4)+7 \sin (t)$
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง
def x(t):
xt = 4*math.cos(-100*t/4)+7*math.cos(t)
return xt
def y(t):
yt = 4*math.sin(-100*t/4)+7*math.sin(t)
return yt
plot(x, y, 0, 8*math.pi, 0.01)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$x=7*(sin(15.72*t))/(1+sin(t)^2) $
$y=7*cos(round(t))*sin(15.72*t)^2 $
โปรแกรมนี้ลายเส้นบาง แต่สวยมาก
ผมเลือกลายเส้นและเขียนพจน์คณิตศาสตร์เอง คุณชอบไหมล่ะ
def x(t):
xt = 7*(math.sin(15.72*t))/ (1+math.sin(t)**2)
return xt
def y(t):
yt = 7*(math.cos(round(t)))*(math.sin(15.72*t)**2)
return yt
plot(x, y, -3, 3, 0.12)
plt.show()
Prog-02 : Beautiful Parametric Equation
?????????? ???? ????
$x(t)=\frac{sin(7.24t)}{0.5+(cos(3.56t))^2}$
$y(t)=cos(3.56t)(sin(7.24t))^4$
โปรเเกรมเเสดงรูปได้สวยดีครับ
ยืนยันว่านิสิตเป็นผู้เลือกเเละเขียนนิพจน์คณิตศาสตร์ของสมการที่เลือกด้วยตนเอง
def x(t) :
xt = math.sin(7.24*t)/(0.5+(math.cos(3.56*t))**2)
return xt
def y(t) :
yt = math.cos(3.56*t)*(math.sin(7.24*t))**4
return yt
plot(x, y, -25, 25, 0.01)
plt.show()
Prog-02 : Beautiful Parametric Equation
?????????? ???? ????
$x(t)=2cos(t)+5sin(\tfrac{2t}{3}) $
$y(t)=2sin(t)+5cos(\tfrac{2t}{3}) $
โปรแกรมนี้วาดรูปดาวด้วยความอ่อนช้อยสวยงาม
ผมเป็นผู้เลือกสมการด้านบนด้วยตนเอง
def x(t):
xt = 2*math.cos(t) + 5*math.sin(2*t/3)
return xt
def y(t):
yt = 2*math.sin(t) + 5*math.cos(2*t/3)
return yt
plot(x, y, -100, 100, 0.1)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$x(t)=cos(t)-cos^3(80t)$
$y(t)=sin(t)-sin^4(40t)$
มันงามมากครับ
ผมเป็นคนเลือกสมาการเเละเขียนนิพจน์คณิตศาสตร์ของสมการที่เลือก
def x(t):
xt = math.cos(1*t) -(pow(math.cos(80*t),3))
return xt
def y(t):
yt = math.sin(1*t) -(pow(math.sin(40*t),4))
return yt
plot(x, y, -6, 6, 0.001)
plt.show()
prog-02: Beautiful Parametric Equation
?????????? ???? ????
x(t) = 2.5×sin2(−5×t)×2cos(cos(4.28∗2.3∗t)))
x(t) = 2.5×sin(sin(−5×t))×cos(4.28×2.3×t)
โปรแกรมนี้มีสลับแวววาวสวยงานวิบวับวิบวับ
ผมเป็นผู้เลือกสมข้างบน อาจจะดูไม่ซับซ้อนแต่สวยงาม
def x(t):
xt = 2.5*math.sin(-5*t)**2*2**math.cos(math.cos(4.28*2.3*t))
return xt
def y(t):
yt = 2.5*math.sin(math.sin(-5*t))*math.cos(4.28*2.3*t)
return yt
plot(x, y, -6, 6, 0.0001)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย???? ????
$x(t)=11cos(t)-6cos(11t/6)$
$y(t)=11sin(t)-6sin(11t/6)$
โปรแกรมนี้วาดลวยลายที่สวยงามแต่แฝงไปด้วยความเรียบง่าย
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง
def x(t):
xt = 11*math.cos(t)-6*math.cos(11*t/6)
return xt
def y(t):
yt = 11*math.sin(t)-6*math.sin(11*t/6)
return yt
plot(x, y, 0, 40, 0.001)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย???? ????
$x(t)=\frac{|t|}{t}(\frac{1}{4}(4|t|-2||t|-1|-||t|-2|-||t|-4|)+\frac{23}{8}(||t|-8|-||t|-12|)-\frac{29}{10}(||t|-16|-||t|-21|)+\frac{1}{4}(||t|-12|-||t|-16|-2)^2+10\cos(\frac{\pi}{16}(||t|-4|-||t|-8|-4))-10)$
$y(t)=-(\frac{|t|-||t|-1|+1}{2})^2+\frac{1}{4}(6||t|-1|-11||t|-2|+5||t|-4|)-2(||t|-12|-||t|-16|)-\frac{12}{5^5}(\frac{||t|-16|-||t|-21|+37}{2}-16)^5+6\sin(\frac{\pi}{16}(||t|-4|-||t|-8|-4))+10)$
โปรแกรมนีวาดรูปแบทแมน รูปที่ออกมาอาจดูเหมือนง่าย แต่การเขียนสมการนั้น...ยากครับ
ผมเป็นผู้เลือกสมการด้านบนและทำนิพจน์คณิตศาสตร์ด้วยตนเอง
def x(t):
xt = (abs(t)/t) * (((1/4)*(4*abs(t)-2*abs(abs(t)-1)-abs(abs(t)-2)-abs(abs(t)-4))) + ((23/8)*(abs(abs(t)-8)-abs(abs(t)-12))) - ((29/10)*(abs(abs(t)-16)-abs(abs(t)-21))) + ((1/4)*(abs(abs(t)-12)-abs(abs(t)-16)-2)**2) + (10 * math.cos((math.pi/16)*(abs(abs(t)-4)-abs(abs(t)-8)-4)))-10)
return xt
def y(t):
yt = -((abs(t)-abs(abs(t)-1)+1)/2)**2 + (1/4)*(6*abs(abs(t)-1)-11*abs(abs(t)-2)+5*abs(abs(t)-4)) - 2*(abs(abs(t)-12)-abs(abs(t)-16)) - (12/5**5)*((abs(abs(t)-16)-abs(abs(t)-21)+37)/2-16)**5 + 6 * math.sin((math.pi/16)*(abs(abs(t)-4)-abs(abs(t)-8)-4))+10
return yt
plot(x, y, -21, 21, 0.01)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$x(t)=(t(1+sin(20*pi*2^t)/3))*cos(pi*2^t)$
$y(t)=(t(1+sin(20*pi*2^t)/3))*sin(pi*2^t)$
โปรแกรมนี้ได้วาดลวดลายที่มีความสวยงาม สะดุดตา
ขอยืนยันว่าดิฉันเป็นคนเลือกสมการข้างต้นและเขียนนิพจน์คณิตศาสตร์ของสมการที่เลือก
def x(t):
xt = (t*(1+math.sin(20*math.pi*2**t)/3))*math.cos(math.pi*2**t)
return xt
def y(t):
yt = (t*(1+math.sin(20*math.pi*2**t)/3))*math.sin(math.pi*2**t)
return yt
plot(x, y, 0, 6, 0.0001)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$ x(t) = cos(4t)cos(t) $
$ y(t) = cos(4t)sin(t) $
โปรแกรมวาดลวดลายที่มีความแปลกใหม่
ผมเป็นผู้ปฏิบัติชิ้นงานนี้ด้วยตัวของผมเอง
def x(t):
xt = math.cos(4*t) * math.cos(t)
return xt
def y(t):
yt = math.cos(4*t) * math.sin(t)
return yt
plot(x, y, 0, 2*math.pi, 0)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$xt = 11*math.cos(t)-6*math.cos((11/6)*t)$
$yt = 11*math.sin(t)-6*math.sin((11/6)*t)$
โปรแกรมนี้มีลวดลายที่สวยงามมากๆมองแล้วเห็นถึงความตั้งใจของผู้ทำ
ผมเป็นคนเลือกสมการและเขียนและแปลงเป็นโปรแกรมขึ้นมา ขอยืนยันๆๆๆๆๆ
def x(t):
xt = 11*math.cos(t)-6*math.cos((11/6)*t)
return xt
def y(t):
yt = 11*math.sin(t)-6*math.sin((11/6)*t)
return yt
plot(x, y, -16.3,16.3,0.1 )
plt.show()
Prog-02: Beautiful Parametric Equations
?????????? ???? ????
$x(t)=sin(t)(e^cos(t)-2cos(4t)-(sin(t/12))^5)$
$y(t)=cos(t)(e^cos(t)-2cos(4t)-(sin(t/12))^5)$
โปรแกรมนี้มีภาพที่งดงาม
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง
def x(t):
xt = math.sin(t)*((math.e)**math.cos(t)-2*math.cos(4*t)-(math.sin(t/12))**5)
return xt
def y(t):
yt = math.cos(t)*((math.e)**math.cos(t)-2*math.cos(4*t)-(math.sin(t/12))**5)
return yt
plot(x, y, 0, 12*math.pi, 0.001)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$ x(t) = 11cost - 6cos(11/6 t) $
$ y(t) = 11sin(t) - 6sin(11/6 t) $
รูปซากุระสีชมพู
ยืนยันว่าผมเป็นผู้เลือกและเขียนนิพจน์ศาสตร์สมการที่เลือกด้วยตัวเอง
def x(t):
xt = 11*math.cos(t)-6*math.cos(11/6*t)
return xt
def y(t):
yt = 11*math.sin(t)-6*math.sin(11/6*t)
return yt
plot(x, y,-20, 20, 0.1)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย???? ????
$x(t)=4cos(-11t/4)+7cos(t)$
$y(t)=4sin(-11t/4)+7sin(t)$
โปรเเกรมนี้สวยงามที่สุด
ผมเป็นผู้เลือกสมการด้านบน
def x(t):
xt = (4*math.cos(-1*11*t/4))+(7*math.cos(t))
return xt
def y(t):
yt = (4*math.sin(-1*11*t/4))+(7*math.sin(t))
return yt
plot(x, y, 0, 8*math.pi, 0.1)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย???? ????
$x(t)=cos(t)-cos(100t)sin(t)$
$y(t)=2sin(t)-sin(100t)$
โปรแกรมนี้วาดลวดลำยอ่อนชอ้ยสวยงำมสะดุดตำ
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง
def x(t):
xt = math.cos(t) - (math.cos(100*t))*math.sin(t)
return xt
def y(t):
yt = 2*math.sin(t) - math.sin(100*t)
return yt
plot(x, y, 0, 2*math.pi, 0.0001)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย ???? ????
$x(t) = cos(4t)cos(3t)
$y(t) = cos(4t)sin(3t)
โปรแกรมนี้วาดลวดลายสวยงามสะดุดตา
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง
def x(t):
xt = math.cos(4*t) * math.cos(3*t)
return xt
def y(t):
yt = math.cos(4*t) * math.sin(3*t)
return yt
plot(x, y, 0, 2*math.pi, 0.01)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ชื่อนาย วชิรพัรธ์ ????
$x(t) = cos(1t) - cos(60t)sin(1t)$
$y(t) = 2sin(1t) - sin(60t)$
ข้อควำมบรรยำยควำมดีเลิศของโปรแกรม = กำลังหิวโดนัทครับเลยเอารูปนี้เลย
ข้าพเจ้านาย ???? ???? เป็นผู้เลือกและเขียนนิพจน์คณิตศาสตร์ของสมการที่เลือก
def x(t):
xt = math.cos(1*t) - math.cos(60*t)*math.sin(1*t)
return xt
def y(t):
yt = 2*math.sin(1*t) - math.sin(60*t)
return yt
plot(x, y, -6, 6, 0.01)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? น.ส.???? ????
$x(t)=(math.sin((13*t)+13))*(math.sin(9*t)-39)$
$y(t)=(math.sin((13*t)+13))*(math.cos((9*t)-39))$
โปรแกรมนี้วาดด้วยความสร้างสรรค์และงดงาม
ดิฉันเป็นผู้เขียนสมการข้างต้นและนิพจน์ทางคณิตศาสตร์ด้วยตัวเอง
def x(t):
xt = (math.sin((13*t)+13))*(math.sin(9*t)-39)
return xt
def y(t):
yt = (math.sin((13*t)+13))*(math.cos((9*t)-39))
return yt
plot(x, y, 0, 2*math.pi, 0.0062)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$x(t)=11cos(t)-6cos(\frac{11}{6}t)$
$y(t)=11sin(t)-6sin(\frac{11}{6}t)$
โปรแกรมนี้วาดลวดลายได้อย่างสวยงาม
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง
def x(t):
xt = 11*math.cos(t)-6*math.cos((11/6)*t)
return xt
def y(t):
yt = 11*math.sin(t)-6*math.sin((11/6)*t)
return yt
plot(x, y, -20, 20, 0.1)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$x(t)=4sin(-11t/4)+7sin(t)$
$y(t)=4cos(−11t/4)+7cos(t)$
โปรแกรมนี้เป็นรูปลวงตาที่จะหมุนไปเรื่อยไม่จบสิ้น
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง
def x(t):
xt = 4*math.sin(-11*t/4) + 7*math.sin(t)
return xt
def y(t):
yt = 4*math.cos(-11*t/4) - 7*math.cos(t)
return yt
plot(x, y, 0, 8*math.pi, 0.01)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? ???? ????
$x(t)= 6*(math.sin(9.52*t))* {round(math.cos(math.cos(4.7*t)))**1/2}$
$y(t)= 6*(math.cos(9.52*t))**4 * {math.sin(math.sin(4.7*t))}$
โปรแกรมนี้มีลักษณะที่ประสานกัน สวยงาม และดูอ่อนช้อย รู้สึกถึงความเคลื่อนไหวคล้ายสายน้ำ
ดิฉันเป็นผู้เลือกสมกำรข้ำงบนและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง
def x(t):
xt = 6*(math.sin(9.52*t))* round(math.cos(math.cos(4.7*t)))**1/2
return xt
def y(t):
yt = 6*(math.cos(9.52*t))**4 * math.sin(math.sin(4.7*t))
return yt
plot(x, y, -7.599, 7.599, 0.001)
plt.show()
Prog-02: Beautiful Parametric Equation
?????????? นาย???? ????
$x(t)=4(cos(5.08t)^{2.5}$
$y(t)=2(sin(sin(2.8t))(cos(5.08t))^2$
โปรแกรมนี้วาดรูปอะไรออกมาก็ไม่รู้แต่มีลวดลายที่สวยงามสะดุดตา
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง
def x(t):
xt = 4*(math.cos(5.08*t)**(2.5))
return xt
def y(t):
yt = 2*(math.sin(math.sin(2.8*t)))*((math.cos(5.08*t))**2)
return yt
plot(x, y, -30, 25, 0.001)
plt.show()