Programming Assignment #02 (Section 6)

In [1]:
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
6331001221
$x(t)=cos(t)-cos(100t)sin(t)$
$y(t)=2sin(t)-sin(100t)$
โปรเเกรมนี้วาดลวดลายอ่อนช้อยสวยงามสะดุดตา
ผมเป็นผู้เลือกสมการข้างบนเเละเขียนพิสูจน์คณิตศาสตร์ด้วยตนเอง

In [2]:
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, 10, 0.001)
plt.show()

Prog-02: Beautiful Parametric Equation
6331002921 กันต์ธร ลิบวาณิชย์
$x(t)=cos(6t)+cos(6t)/2+sin(10t)/3$
$y(t)=sin(6t)+sin(6t)/2+cos(10t)/3$
โปรแกรมนี้สามารถทำเป็นลวดลายตามความคิดสร้างสรรค์ได้อย่างสวยงาม
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง ผมมั่นใจจริงๆครับตั้งใจทำด้วยตนเอง

In [3]:
def x(t):
    xt = math.cos(6*t) +  math.cos(6*t)/2 + math.sin(10*t)/3
    return xt
def y(t):
    yt = math.sin(6*t) +  math.sin(6*t)/2 + math.cos(10*t)/3
    return yt
plot(x, y, -100, 100, 0.1)
plt.show()

Prog-02: Beautiful Parametric Equation
6331003521 นายกานตภณ เพาะบุญ
$x(t)=cos(4t)cos(t)$
$y(t)=cos(4t)sin(t)$
โปรแกรมนี้วาดรูปได้มากมายแต่ยากไปหน่อย
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [4]:
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.1)
plt.show()

Prog-02: Beautiful Parametric Equation
6331004121 นายคริส เปราธ์มินทร์ บาวเวนส์
$x(t)=11cost-6cos(11t/6)$
$y(t)=11sint-6sin(11t/6)$
โอ้ มันคือศิลปะ
ผมเลือกสมการและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง

In [5]:
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, -20, 20, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6331005821 จิรเมธ สุทธิเมธากร
$x(t)=(4*math.cos(-11*t/4))+(7*math.cos(t))$
$y(t)=(4*math.sin(-11*t/4))+(7*math.sin(t))$
โปรแกรมนี้วำดลวดลำยอ่อนชอ้ยสวยงามสะดุดตำ
ผมเป็นผู้เลือกสมกำรข้ำงบนและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง

In [6]:
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
6331006421 นายจิรวัชร แสงปรีดีกรณ์
$x(t) = cos(t)^3 - (cos(100t))sin(t)^3 $y(t) = 2sin(t)^3 - sin(100t)^3
โปรแกรมนี้มันคือน้ำกดชักโครกที่สวยที่สุดงดงามดั่งดวงจันทร์
ผมเป็นผู้เลือกสมการอันแสนสวยงามนี้และเขียนนิพจน์คณิตศาสตร์ด้วยตัวผมเอง

In [7]:
def  x(t):
     xt = math.cos(t)**3 - (math.cos(100*t))*math.sin(t)**3
     return xt
def  y(t):
     yt = 2*math.sin(t)**3 - math.sin(100*t)**3
     return yt
plot(x, y, 0, 2*math.pi, 0.0001)
plt.show()

Prog-02: Beautiful Parametric Equation
6331007021 นายชุติพล ศรีเพ็ญ
$x=cos(80t)-cos^3(t)$
$y=sin(80t)-sin^3(t)$
โปรแกรมนี้ผมวาดลวดลายอันซับซ้อนซึ่งแฝงด้วยความสวยงามไร้ที่ติซึ่งเขียนโดยกลั่นออกมาจากใจ
ผมเป็นผเู้ลอืกสมกํารขํา้งบนและเขยีนนพิจน์คณิตศําสตรด์ว้ยตัวเอง

In [8]:
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, 0, 2*math.pi, 0.001)
plt.show()

Prog-02: Parametric Equations
6331008721 ณัฐณิชา ตั้งรวมทรัพย์
$x(t)=4\times \cos (\frac{-11\times t}{4})+7\times \cos (t)$
$y(t)=4\times \sin (\frac{-11\times t}{4})+7\times \sin (t)$
โปรแกรมนี้เห็นแล้วนึกถึงดอกไม้
ดิฉันเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [9]:
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.1)
plt.show()

Prog-02 : Beautiful Parametric Equation
6331009321 นายธนโชติ แซ่เจี่ย
$ x=(2)cosθ+5cos((2/3)θ) $
$ y=(2)sinθ−5sin((2/3)θ) $
วาดเส้นโค้งได้อ่อนช้อยมาก
ผมเลือกสมาการและเขียนนิพจน์ด้วยตัวอง

In [10]:
def x(t):
    xt = 2*math.cos(t)+5*math.cos((2/3)*t)
    return xt
def y(t):
    yt = 2*math.sin(t)-5*math.sin((2/3)*t)
    return yt
plot(x, y, 0.39, 2*math.pi, 0.15)
plt.show()

Prog-02: Beautiful Parametric Equation
6331010921 ธนพล ขุนสังวาลย์
$ LaTex code ของสมการ x(t) = math.cos(1*t)-math.cos(80*t)**3 $
$ LaTex code ของสมการ y(t) = math.sin(1*t)-math.sin(80*t)**3 $
สอนสนุกไม่ง่วงเลยครับ
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์นี้ด้วยตัวเองครับ

In [11]:
def x(t):
    xt = math.cos(1*t)-math.cos(80*t)**3
    return xt

def y(t):
    yt = math.sin(1*t)-math.sin(80*t)**3
    return yt

plot(x, y, -6, 6, 0.01)
plt.show()

Prog-02:Beautiful Parametric Equation
6331011521 นายธรรมธัช แพรสมบูรณ์
$x(t)=cos(100t)-cos^3(t)$
$y(t)=sin^3(t)-sin(199t)$
โปรแกรมนี้วาดลวดลายของชุดเกราะได้อย่างงดงาม
ผมเป็นผู้เลือกสมการด้านบนและเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง

In [12]:
def  x(t):
     xt = math.cos(100*t) - math.cos(t)**3
     return xt
def  y(t):
     yt = math.sin(t)**3 - math.sin(199*t)
     return yt
plot(x, y, -2, 2, 0.001)
plt.show()

Prog-02: Parametric Equations
6331012121 นราวิชญ์ สุฐมานนท์
$x(t)=\left ( \frac{\frac{1}{10}t}{\left ( 2\pi \right )} \right )\sin\left ( t \right )$
$y(t)=11\sin\left ( t \right )-6\sin\left ( \frac{11}{6} \right )t$
โปรแกรมนี้มีรูปนาฬิกาทรายที่สวยมาก
ผมเป็นผู้เลือกสมการข้างบนและเขียนด้วยตนเอง

In [13]:
def x(t):
    xt = (0.1*t/(2*math.pi))*math.sin(t)
    return xt

def y(t):
    yt = (11)*math.sin(t)-(6)*t*math.sin(11/6)
    return yt

plot(x, y, -100, 100, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6331013821นายปฏิพล ศํกดิ์ธนวัฒน์
$x(t)=10 \times \sin (2.78t) \times ( \sqrt{ \cos ( \cos (8.2t))}$
$y(t)=9 \times \cos ^2(2.78t) \sin ( \sin (8.2t))$
โปรแกรมนี้เขียนง่าย ชัดเจน และสะอาดตา
ผมเป็นผู้เลือกสมกำรและเขียนนิพจน์เอง

In [14]:
def x(t):
    xt = 10*math.sin(2.78*t)*(math.sqrt(math.cos(math.cos(8.2*t))))
    return xt

def y(t):
    yt = 9*math.cos(2.78*t)**2*math.sin(math.sin(8.2*t))
    return yt

plot(x, y, -20, 20, 0.001)
plt.show()

Prog-02: Parametric Equations
6331014421 พชรพล จันทร์โต
$x(t)=\frac{27}{14}\sin2t+\frac{15}{14}\sin3t$
$y(t)=\frac{27}{14}\cos2t-\frac{15}{14}\cos3t$
โปรแกรมนี้แสดงความโค้งมนของดวงดาวได้อยากสวยงาม
ผมขอยืนยันว่าเป็นผู้เลือกสมการด้านบนและเขียนนิพนจ์คณิตศาสตร์ด้วยตัวเองเพียงคนเดียว

In [15]:
def x(t):
    xt = (27/14)*math.sin(2*t)+(15/14)*math.sin(3*t)
    return xt

def y(t):
    yt = (27/14)*math.cos(2*t)-(15/14)*math.cos(3*t)
    return yt

plot(x, y, -5, 5, 0.02)
plt.show()

Prog-02 Parametric Equation
6331015021 นายพสิษฐ์ คุปต์สินชัย
$x(t)=sin^3(t)$
$y(t)=cos^3(t)$
ผมนึกไม่ค่อยถึงเลยว่ากราฟsin cos กำลังสาม เราแค่จำกัดขอบเขตมันจะออกมาเป็นแบบนี้
ยืนยันว่าตัวผมเป็นคนเลือกและเขียนนิพจน์คณิตศาสตร์ของสมการที่ผมเลือก

In [16]:
def x(t) :
    xt = math.sin(t)**3
    return xt

def y(t) :
    yt = math.cos(t)**3
    return yt

plot(x, y, 0, 2*math.pi, 0.1)
plt.show()

Prog-02: Beautiful Parametric Equation
6331016721 นางสาวพัณณิตา กำจรพานิชเจริญ
$x(t)=2cos(t)+5cos(2/3t) $y(t)=2sin(t)+5sin(2/3t)
โปรแกรมนี้ใช้วาดรูปดาวสวยงาม
หนูเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง

In [17]:
def x(t) :
    xt = 2*math.cos(t) + 5*math.cos(2/3*t)
    return xt

def y(t) :
    yt = 2*math.sin(t) - 5*math.sin(2/3*t)
    return yt

plot(x, y, -10, 10, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6331017321 พีรวิชญ์ ฐาปนวงศ์เวช
$x(t)=cos(t)-cos(t)sin(200t)$
$y(t)=sin(t)-sin(100t)$
โปรเเกรมนี้ยิ่งใช้นานๆยิ่งชอบเเละสนุกไปกับมัน
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [18]:
def x(t):
    xt = math.cos(t)-(math.cos(t)*math.sin(200*t))
    return xt
def y(t):
    yt = (math.sin(t))-math.sin(100*t)
    return yt
plot(x, y, -3, 3, 0.001)
plt.show()

Prog-02 : Beautiful Parametric Equation
6331018021 นายภัทรพล มีจันทร์
$ x(t)=8*cos(-11*t/4)+ 9*cos(t) $
$ y(t) = 8*sin(-11*t/4)+ 9*sin(t) $
โปรแกรมนี้ทำให้เราสะดวกสบายมากมากครับ
ผมเป็นผู้เลือกสมกำรข้ำงบนและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง

In [19]:
def x(t):
    xt = 8*math.cos(-11*t/4)+ 9*math.cos(t)
    return xt
           
def y(t):
    yt =  8*math.sin(-11*t/4)+ 9*math.sin(t) 
    return yt
        
plot( x, y, -6, 6, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6331019621 น.ส.ภัทรานิษฐ์ วรกิจเจริญผล
$ x(t)=4cos(\frac{-11}{4}t)+7cos(t) $
$ y(t)=4sin(\frac{-11}{4}t)+7sin(t) $
โปรแกรมนี้สามารถเขียนกราฟจากสมการพาราเมตริกซ์ได้อย่างสวยงาม
ข้าพเจ้า ขอยืนยันว่าข้าพเจ้าเป็นผู้เลือกและเขียนนิพจน์คณิตศาสตร์ของสมการที่เลือกด้วยตนเองแต่เพียงผู้เดียว

In [20]:
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, 8*math.pi, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6331020121 มีภูมิ เจริญศิลป์
$x(t)=11cost-6cos(11/6t)$
$y(t)=11sint-6sin(11/6t)$
โปรแกรมแสดงรายละเอียด ได้ชัดเจน บอกบรรทัดได้ละเอียด และยังวาดได้สวยงาม
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [21]:
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, -19, 19, 0.0001)
plt.show()

Prog-02: Beautiful Parametric Equation
6331021821 วโรดม ศักดิ์ผดุงกมล
$x(t) = 2.5*((math.sin(-5*t))**2)*(2**math.cos(math.cos(4.28*2.3*t))) $
$y(t) = 2.5*(math.sin(math.sin(-5*t)))*((math.cos(4.28*2.3*t))**2) $
กราฟมีความสวยงานมากแบ่งบนล่างอย่างลงตัวสวยงามไม่เหมือนใคร
ผมมีความพยายามมากครับในการทำกราฟนี้

In [22]:
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))**2)
    return yt
plot(x, y, -6, 6, 0.00001)
plt.show()

Prog-02 : Beautiful Parametric Equation
6331022421 วิธวิทย์ พรินทรากุล
$ x(t)=cos(t)-cos(100t)sin(t)$
$ y(t)=2sin(t)-sin(100t)$
โปรแกรมนี้ดูค่อนข้างยุ่งเหยิงและซับซ้อน แต่ในขรธเดียวกันก็ดูสวยงามอย่างบอกไม่ถูก
ผมคิดว่ารูปที่ออกมาของสมการนี้ดูสวยงามและซับซ้อน แต่สมการดูไม่ยากเกินไป ผมจึงเลือกสมการนี้ครับ

In [23]:
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, 60, 0.26)
plt.show()

>>> 6331023021 <<<

In [24]:
def x(t):
    xt = (7*(math.cos(math.cos(1.84*t))**2))*(1 + ((math.cos(1.92*t))**4))
    return xt
def y(t):
    yt = (7*((math.sin(math.sin(1.84*t)))**2))*(math.sin(math.sin(1.92*t)))
    return yt
plot(x, y, -3, 100, 0.0065)
plt.show()

Prog-02: Beautiful Parametric Equation
6331024721 สุทธินนท์ จงสถิตย์ไพบูลย์
$ xt = 2.5*((math.sin(-5*t))**2)*(2**math.cos(math.cos(4.28*2.3*t))) $ yt =2.5(math.sin(math.sin(-5t)))((math.cos(4.282.3*t))**2)
โปรแกรมนี้ผมได้แรงบันดาลใจมาจากรูปสัตว์ชนิดหนึ่งนั้นก้คือรูปปลา ซึ่งรูปนี้มีความสวยงามในการเรียงเส้นที่สวยงามเป็นเลเยอร์ที่ไล่กันลงมาอย่างมีน้ำหนักพอดี
ผมขอยืนยันว่าผมเป็นผู้เลือกสมการและเขียนนิพจน์คณิตศาสตร์ข้างต้นด้วยตนเอง

In [25]:
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))**2)
    return yt


plot(x, y,-4,4,0.00001)
plt.show()

Prog-02: Beautiful Parametric Equation
6331025321 สุภาวิดา พาลพล
$x(t)=(7-2)cos(t)+7cos(\frac{7-2}{2}t) ของสมการ x(t)$
$y(t)=(7-2)sin(t)-7sin(\frac{7-2}{2}t) ของสมการ y(t)$
เป็นกราฟที่สวยค่ะ
นิสิตทำเองค่า

In [26]:
def x(t):
    xt = (7-2)*math.cos(t)+7*math.cos(((7-2)/2)*t)
    return xt
def y(t):
    yt = (7-2)*math.sin(t)-7*math.sin(((7-2)/2)*t)
    return yt


plot(x, y, 0, 15, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6331026021 อภิวัฒน์ สุวรรณนัง
$ x(t)=cos(t)-cos(100t)sin(t) $
$ y(t) = 2sin(t)-sin(100t) $
โปรแกรมนี้น่าทึ่งมากที่สามารถใช้สมการนำมาวาดเป็นภาพได้
นิสิตได้เป็นผู้เลือกสมการข้างบนด้วยตัวเอง ซึ่งได้นำสมการมาจาก rmutphysics

In [27]:
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, -10, 10, 0.001 )
plt.show()

Prog-02: Beautiful Parametric Equation
6331101321 กัลยกร กาญจนกันติกะ
$ x(t)=cos(7t)cos(11t) $
$ y(t)=cos(7t)sin(11t) $
โปรแกรมใช้ง่ายสะดวกสบายวาดกราฟเส้นได้สวยมากค่ะ
หนูเป็นผู้เลือกและเขียนนิพจน์คณิตศาสตร์ของสมการที่เลือกค่ะ

In [28]:
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
6331102021 กิตติณัฐ ตั้งวิจิตรเจนการ
$x(t)=2t+2cos(22.5t)+\frac{2}{t}$
$y(t)=2t+2sin(24t)+\frac{2}{t}$
โปรแกรมนี้ต่อเป็นสายใยเหมือนความสัมพันธ์ที่แน่นแฟ้นครับ
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง

In [29]:
def x(t):
    xt = 2*t + 2*math.cos(22.5*t) + 2/t
    return xt

def y(t):
    yt = 2*t + 2*math.sin(24*t) + 2/t
    return yt


plot(x, y, 0.5, 15.2, 0.0001)
plt.show()

Prog-02: Beautiful Parametric Equation
6331104221 ชิดชนก แซ่เตียว
$ x(t)=6sin(6.1t)cos(cos(7.6t)) $
$ y(t)=6cos^2(6.1t)sin(sin(7.6t)) $
โปรแกรมนี้แสดงลวดลายออกมาได้สวยงามมาก
หนูขอยืนยันว่าหนูเป็นผู้เลือกสมการนี้และเป็นผู้เขียนนิพจน์คณิตศาสตร์นี้ด้วยตนเองค่ะ

In [30]:
def x(t):
    xt = 6*math.sin(6.1*t) * \
         math.cos(math.cos(7.6*t))
    return xt

def y(t):
    yt = 6*math.cos(6.1*t)**2 * \
         math.sin(math.sin(7.6*t))
    return yt

plot(x, y, -8, 8, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6331105921 ณฐกร กิจเจริญวิศาล
$x(t)=t-cos(24t)$
$y(t)=t-sin(25t)$
เป็น Pattern ที่น่าสนใจ
ขอยืนยันว่าข้าพเจ้าเป็นผู้เลือกและเขียนนิพจน์ทางคณิตศาสตร์นี้ด้วยตนเอง

In [31]:
def x(t):
    xt = t - math.cos(24*t)
    return xt
def y(t):
    yt = t - math.sin(25*t)
    return yt
plot(x, y, -10, 10, 0.01)
plt.show()

Prog-02 : Beautiful Parametric Equation
6331106521 ณัฐวัชร โพธิ์มาก
$ x(t) = cos(t)-cos^3(80t) $
$ y(t) = sin(80t) - sin^4(80t) $
โปรแกรมนี้เสมือนหมวกของตัวตลก
ผมเป็นผู้เลือกสมการข้างต้นและเขียนนิพจน์คณิตศาตร์ด้วยต้นเอง

In [32]:
def x(t):
    xt = math.cos(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, -10, 10, 0.00001)
plt.show()

Prog-02: Beautiful Parametric Equation
6331701921 นายโกสินทร์ ศรีประเสริฐ
$x(t)=4cos(-11t/4)+7cos(t)$
$y(t)=4sin(-11t/4)+7sin(t)$
เป็นการโชว์ให้เห็นถึงเส้นโค้งสวยงามที่เรียงตัวเป็นรูปร่างอันสวยงาม คล้ายกับดอกไม้บางชนิดในธรรมชาติ
ขอยืนยันอย่างภาคภูมิใจว่าข้าพเจ้าค้นหาตัวอย่างสมการและเขียนนิพจน์ภายในโปรแกรมนี้ด้วยตนเอง

In [33]:
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, -15, 15, 0.0001) 
plt.show()

Prog-02: Beautiful Parametric Equation
6331702521 ธนบูลย์ วงศ์สถาปัตย์
$x(t)=2t+2cos(23.5t)+(2/t)$
$y(t)=2t+2sin(24t)+(2/t)$
โปรแกรมนี้วาดภาพได้เหนือกว่าสิ่งที่จินตนาการไว้
ผมเป็นคนเลือกสมการข้างบนด้วยตัวของผมเอง

In [34]:
def x(t):
    xt = 2*t + 2*math.cos(23.5*t) + 2/t
    return xt
def y(t) :
    yt = 2*t + 2*math.sin(24*t) + 2/t
    return yt

plot(x, y, 1, 15.2, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6331703121 นายพลวรรธน์ ปรีชาธรรมรัช
$x(t)=11*math.cos(t) - 6*math.cos(11*t/6)$
$y(t)=11*math.sin(t) - 6*math.sin(11*t/6)$
โปรแกรมนี้สามารถสร้างภาพได้เพียงใช้สมการ
แน่นอนว่าภาพนี้ผมเลือกมาเองคับพี่

In [35]:
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, 100, 0.001)
plt.show()

Prog-02: Beautiful Parametric Equation
6331704821 นางสาวเพียงชีวา จันทวงศ์
$x(t)=cos(16t)+(cos(6t)/2)+(sin(10t)/3)$
$y(t)=sin(16t)+(sin(6t)/2)+(cos(10t)/3)$
โปรแกรมนี้วาดลวดลายดอกไม้อ่อนช้อยสวยงาม
ดิฉันเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [36]:
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, -2*math.pi, 2*math.pi, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6331705421 รุจาภา งามเจริญสถาพร
$x(t)=0.5cos(15t)$
$y(t)=0.5sin(15t)$
โปรแกรมนี้วาดลวดลายออกมาได้อย่างสวยงามและมีเอกลักษณ์เฉพาะตัว
หนูเป็นผู้เลือกสมการข้างต้นและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [37]:
def x(t):
    xt = 0.5*(math.cos(15*t))
    return xt
def y(t):
    yt = 0.5*(math.sin(15*t))
    return yt
plot(x, y, -4, 4, 0.1)
plt.show()

Prog-02: Beautiful Parametic Equation
6331801021 กิตติทัต มหานิล
$ x(t)=cos(16t)+\frac{cos(6t)}{2}+\frac{sin(10t)}{3} $
$ y(t)=sin(16t)+\frac{sin(6t)}{2}+\frac{cos(10t)}{3} $
เป็นภาพก้อนเมฆที่ลอยอยู่บนท้องฟ้า
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเองครับ

In [38]:
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, 0, 2*math.pi, 0.0001)
plt.show()

Prog-02 : Beautiful Parametric Equation
6331802621 นายกิตติภพ ยศปัญญา
$ x(t)=cos(t)-cos(100t)sin(t) $
$ y(t)=2sin(t)-sin(100t) $
โปรมแกรมนี้วาดลวดลายได้ดูเท่
ผมเป็นผู้เลือกสมการและเขียนนิพจน์คณิตศาสตร์ของสมการที่เลือก

In [39]:
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.00001)
plt.show()

Prog-02: Beautiful Parametric Equation
6331803221 กุลกิตติ์ หุ่นกิตติเวชกุล
$x(t)=math.sin(t)((math.e^(math.cos(t))-2math.cos(4t)-(math.sin(t/12)^5)))$
$y(t)=math.cos(t)((math.e^(math.cos(t))-2math.cos(4t)-(math.sin(t/12)^5)))$
โปรแกรมนี้วำดลวดลำยอ่อนชอ้ยสวยงำมสะดุดตำ
ผมเป็นผู้เลือกสมกำรข้ำงบนและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง

In [40]:
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, 10, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6331804921 เจตณัฐ จิโรจดำรงค์ชัย
$ x(t) =cos(7t)cos(11t) $
$ y(t) =cos(7t)sin(11t) $
รูปที่ได้มีความโค้งสวยงามแต่เรียบง่าย
ผมเป็นผู้เลือกสมการข้างต้นและเขียนนิพจน์ด้วยตนเอง

In [41]:
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, 1 ,2*math.pi ,0.01 )
plt.show()

>>> 6331805521 <<<

In [42]:
def x(t):
    xt = math.sin(7*math.pi*t)
    return xt

def y(t):
    yt = math.cos(5*math.pi*t)
    return yt
plot(x, y, 2, 2*math.pi, 0.05)
plt.show()

Prog-02: Beautiful Parametric Equation
6331806121 ปรวีร์ สุวรรณวารี
$x(t)=cos(80t)-cos^3(t)$
$y(t)=sin(80t)-sin^3(t)$
โปรแกรมนี้ด้วยความตั้งใจอย่างสูง
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [43]:
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, -4, 4, 0.005)
plt.show()

Prog-02: Beautiful Parametric Equation
6331807821 นาย ปิยะณัฐ ปิยะณัตดิ์พูล
$x(t)=5cos(t)+3cos((5t/3)$
$y(t)=5sin(t)-3sin((5t/3)$
โปรแกรมนี้วาดลวดลายที่แหลมคมสวยงาม
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง

In [44]:
def x(t):
    xt = 5*math.cos(t)+3*math.cos((5/3)*t)
    return xt

def y(t):
    yt = 5*math.sin(t)-3*math.sin((5/3)*t)
    return yt

plot(x, y, 0, 6*math.pi, 0.1)
plt.show()

>>> 6331808421 <<<

Prog-02: Beautiful Parametric Equation
63331808421 วฤนท์พร วิเศษสมภาคย์
$ x(t)=cos(16t)+(cos(6t))/2+(sin(10t))/3 $
$ y(t)=sin(16t)+(sin(6t))/2+(cos(10t))/3 $
โปรแกรมนี้มีหน้าตาน่ารักเหมือนดอกไม้ผสมเปลือกหอยเลยค่ะ
ขอยืนยันว่าเป็นคนเลือกสมการและเขียนโปรแกรมนี้ด้วยตนเองทั้งหมดค่ะ

In [45]:
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, -15, 15, 0.01)
plt.show()

Prog-02 : Parametric Equations
6331809021 นายวิกร หนูพรหม
$x(t)=6sin(13.58t)round(\sqrt{cos(cos(7.4t))})$
$y(t)=6cos^{4}(13.58t)sin(sin(7.4t))$
โปรแกรมนี้วาดได้สวย สะดุดตา
ผมเป็นผู้เลือกสมการนี้และเขียนด้วยตนเอง

In [46]:
def x(t):
    xt = 6*math.sin(13.58*t)*round((math.cos(math.cos(7.4*t)))**0.5)
    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.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6331810621 นายศุภกร ธิวงศ์เงิน
$\[x(t)= cos(6t)+\frac{cos(6t)}{2}+ \frac{sin(10t)}{3}\]$
$[y(t)= sin(6t)+\frac{sin(6t)}{2}+ \frac{cos(10t)}{3}]
โปรแกรมนี้วาดได้สวยงามอร่ามเเท้เเลตะลึงตึ่งโป๊ะ
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพิจน์คณิตศาสตร์ด้วยตัวเอง

In [47]:
def x(t):
    xt = ((math.cos(6*t))+((math.cos(6*t))/2)+((math.sin(10*t))/3))
    return xt 
def y(t):
    yt =((math.sin(6*t))+((math.sin(6*t))/2)+((math.cos(10*t))/3)) 
    return yt 
 
plot(x, y, -200, 100, 0.001)
plt.show()

Prog-02: Beautiful Parametric Equation
6332005021 นายจิรภู ศรีสุริยาพัฒน์กุล
$x(t)=\frac{5sin(2.24t)}{1+sin^2(1.42t)}$
$y(t)=5cos(1.42t)sin^4(2.24t)$
โปรแกรมนี้ดูเหมือนปีกแมลง
ผมยืนยันว่าเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [48]:
def x(t):
    xt = 5*math.sin(2.24*t)/(1 + math.sin(1.42*t)**2)
    return xt
def y(t):
    yt = 5*math.cos(1.42*t)*math.sin(2.24*t)**4
    return yt
plot(x, y, -80, 80, 0.1)
plt.show()

Prog-02: Beautiful Parametric Equation
6332010021 นายชิษณุพงศ์ วารินทร์ศิริกุล
$x(t)=2t+2 \cos(22.5t)+2 \div t$
$y(t)=2t+2 \sin (24t)+2 \div t$
โปรแกรมนี้วาดลวดลายได้สวยเกินไป
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [49]:
def x(t):
    xt = 2*t + 2*math.cos(22.5*t) + 2/t
    return xt
def y(t):
    yt = 2*t + 2*math.sin(24*t) + 2/t
    return yt
plot(x, y, 0.5, 15.2, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6332012321 นายณภัทร พยัคฆ์มีธรรม
$x(t)=cos(4t)-cos(t)^3$
$y(t)=sin(4t)-sin(t)^3$
โปรแกรมนี้มีลวดลายสวยงามตระการตา แปลกตา
ผมเลือกสมการนี้และแขียนนิพจน์คณิตศาสตร์นี้เอง

In [50]:
def x(t):
    xt = math.cos(4*t) - math.cos(t)**3
    return xt
def y(t):
    yt = math.sin(4*t) - math.sin(t)**3
    return yt
plot(x, y, -4, 4, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6332021021 นายธิติพัทธ์ จันทราพิรัตน์
$y(t) = ( 1-e^{-t/10})(1+\frac{cos(2\pi t)}{10})(cos(2\pi t))$
$y(t) = ( 1-e^{-t/10})(1+\frac{cos(2\pi t)}{10})(sin(2\pi t))$
โปรแกรมนี้วาดรูป spiral ที่หยักแต่ดันเหมือนกับเศษดินสอที่ถูกเหลาออกจากกบเหลาดินสอ
ผมขอยืนยันว่าผมได้ทำการเลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง

In [51]:
def x(t):
     xt = (1-(math.e**(-t/10)))*(1+(math.cos(24*math.pi*t))/10)*math.cos(2*math.pi*t)
     return xt
def y(t):
     yt = (1-(math.e**(-t/10)))*(1+(math.cos(24*math.pi*t))/10)*math.sin(2*math.pi*t)
     return yt
    
plot(x, y, 0, 30, 0.01)
plt.show()

Prog-02: Parametric Equations
6332030621 พลพิพัฒน์ พึ่งธรรมคุณ
$x(t)=2.5 \cos(t)-9\cos(t)\sin(60t)$
$y(t)=2 \sin^2(58t)- \sin(60t)$
โปรแกรมนี้วาดด้วยลวดลายสวยงาม ดูหลงไหล
ผมเป็นผู้เลือกสมการด้านบนและเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง100%

In [52]:
def x(t):
    xt =  2.5*math.cos(1*t) - 9*(math.cos(1*t)*math.sin(60*t))
    return xt
def y(t):
    yt =  2*(math.sin(58*t))**2 - math.sin(60*t)
    return yt
plot(x, y, 0, 2*math.pi, 0.005)
plt.show()

Prog-02: Beautiful Parametric Equation
6332036421 นายภัทรพล ชัยนิวัฒนา
$x(t) =[(5^{2}-3^{2})^{1/2}+5cos(6\pi t)]cos(2/10\pi t)-3sin(6\pi t)sin(2/10\pi t)$
$y(t) =[(5^{2}-3^{2})^{1/2}+5cos(6\pi t)]sin(2/10\pi t)+3sin(6\pi t)cos(2/10\pi t)$
โปรแกรมนี้เป็นโปรแกรมที่แสดงถึงวงโคจรของดาวพุธรอบดวงอาทิตย์ที่มีอัตราส่วนที่ถูกต้องและสวยงาม
ผมเป็นผู้เลือกสมการวงโคจรของดาวพุธและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [53]:
def x(t):
    xt =(((5**2)-(3**2))**(1/2)+5*math.cos(6*math.pi*t))*math.cos(2/10*math.pi*t)-3*math.sin(6*math.pi*t)*math.sin(2/10*math.pi*t)
    return xt
def y(t):
    yt = (((5**2)-(3**2))**(1/2)+5*math.cos(6*math.pi*t))*math.sin(2/10*math.pi*t)+3*math.sin(6*math.pi*t)*math.cos(2/10*math.pi*t)
    return yt
plot(x, y, 0, 3.2*math.pi, 0.001)
plt.show()

Prog-02: Beautiful Parametric Equation
6332037021 นายมโนภัทร ชาญกล้า
$x(t)=7cos(t)+8cos(7t)+0.4cos(700t)cos(7t)$
$y(t)=7sin(t)+8sin(7t)+0.4cos(700t)sin(7t)$
โปรแกรมนี้ทำให้helixของผมดูสวยงาม พันกันเป็นเกลียว เหมือนเห็นกรงจักรเป็นดอกบัว
ผมเป็นผู้เลือกสูตรคณิตศาสตร์นี้เอง และมันมีชื่อว่า Helix Perpendicular ที่ถูกปรับแต่งอย่างลงตัว

In [54]:
def x(t):
     xt = 7*math.cos(t)+8*math.cos(7*t)+0.4*math.cos(700*t)*math.cos(7*t)
     return xt
def y(t):
     yt = 7*math.sin(t)+8*math.sin(7*t)+0.4*math.cos(700*t)*math.sin(7*t)
     return yt
plot(x, y, 0, 2*math.pi, 0.00001)
plt.show()

Prog-02: Beautiful parametric equation
6332043821 นายสิริพงษ์ ธีรสศาสตร์
$x(t)=(1/6)sin(2t)(1+cos(80t))(1-(1/12)(sin(2t))^8)$
$y(t)=(-1/2)((2t/pi)-1)^2+(1/7)sin(2t)(sin(80t))^3$
โปรแกรมนี้สามารถพลอตกราฟออกมาได้มาความงดงาม มีความละเอียดค่อนข้างสูง ยอดเยี่ยมมากๆ
ผมยืนยันว่าผมเป็นผู้ค้นหาสมการที่นำมาพลอตนี้ด้วยตนเอง และเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง

In [55]:
def x(t):
    xt = (1/6)*math.sin(2*t)*(1+math.cos(80*t))*(1-((1/12)*(math.sin(2*t))**8))
    return xt
def y(t):
    yt = (-1/2)*(((2*t/math.pi)-1)**2)+(1/7)*math.sin(2*t)*(math.sin(80*t))**3
    return yt
plot(x, y, 0, math.pi, 0.001)
plt.show()