Programming Assignment #02 (Section 3)

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
6330056621 นายจิรัฏฐ์ ชลเกตุ
$x(t)\ =\ \frac{t}{\sqrt{t}}\{2\sin[\frac{\pi(|t|-||t|-3|+1)}{4}]\ +\ 3(||t|-3|-||t|-4|)\ +\ 5\cos[\frac{\pi(||t|-4|-||t|-6|)}{4}]\ +\ \frac{5}{2}\cos[\frac{\pi(||t|-6|-||t|-8|)}{4}]\-\ 3(||t|-8|-||t|-9|)\+\ \frac{3}{2}\cos[\frac{\pi(||t|-9|-||t|-11|)}{4}]\+\ 2\sin[\frac{\pi(||t|-11|-||t|-13|)}{4}]\-\ \frac{2}{\sqrt{2}}\sin[\frac{\pi(||t|-13|-||t|-15|-1)}{4}]\+\ 2\cos[\frac{\pi(||t|-15|-||t|-16|+1)}{4}]\}$
$y(t)\ =\ -3||t|-||t|-3||\ -\ \frac{5}{4}(||t|-3|-||t|-4|-1)^2\ -\ 5\sin[\frac{\pi(||t|-4|-||t|-6|)}{4}]\ +\ \frac{5}{2}\sin[\frac{\pi(||t|-6|-||t|-8|)}{4}]\ -\ \frac{1}{4}(||t|-8|-||t|-9|+1)^3\ -\ \frac{3}{2}\sin[\frac{\pi(||t|-9|-||t|-11|)}{4}]\ -\ 2\cos[\frac{\pi(||t)-11)-||t|-13|)}{4}])\ -\ \frac{2}{\sqrt{2}}\cos[\frac{\pi(||t|-13|-||t|-15|-1)}{4}]\ -\ \frac{5}{2}(||t|-15|-||t|-16|)\ +\ \frac{11}{2}$
โปรแกรมนี้วาดด้วยความยากลำบาก...ครับ แต่ผลลัพธ์กลับช่างสวยงาม
ข้าพเจ้าเป็นผู้เลือกสมการข้างต้นและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [2]:
def x(t):
    x1 = 2*(math.sin(math.pi*((abs(t)-abs(abs(t)-3)+1)/4)))
    x2 = 3*(abs(abs(t)-3)-abs(abs(t)-4))
    x3 = 5*(math.cos(math.pi*(abs(abs(t)-4)-abs(abs(t)-6))/4))
    x4 = (5/2)*(math.cos(math.pi*(abs(abs(t)-6)-abs(abs(t)-8))/4))
    x5 = 3*(abs(abs(t)-8)-abs(abs(t)-9))
    x6 = (3/2)*(math.cos(math.pi*(abs(abs(t)-9)-abs(abs(t)-11))/4))
    x7 = 2*(math.sin(math.pi*(abs(abs(t)-11)-abs(abs(t)-13))/4))
    x8 = (2*math.sqrt(2))*(math.sin(math.pi*(abs(abs(t)-13)-abs(abs(t)-15)-1)/4))
    x9 = 2*(math.cos(math.pi*(abs(abs(t)-15)-abs(abs(t)-16)+1)/4))
    xt = (abs(t)/t)*(x1 + x2 + x3 + x4 - x5 + x6 + x7 - x8 + x9)
    return xt
def y(t):
    y1 = 3*(abs(t)-abs(abs(t)-3))
    y2 = (5/4)*((abs(abs(t)-3)-abs(abs(t)-4)-1)**2)
    y3 = 5*(math.sin(math.pi*(abs(abs(t)-4)-abs(abs(t)-6))/4))
    y4 = (5/2)*(math.sin(math.pi*(abs(abs(t)-6)-abs(abs(t)-8))/4))
    y5 = (1/4)*((abs(abs(t)-8)-abs(abs(t)-9)+1)**3)
    y6 = (3/2)*(math.sin(math.pi*(abs(abs(t)-9)-abs(abs(t)-11))/4))
    y7 = (2)*(math.cos(math.pi*(abs(abs(t)-11)-abs(abs(t)-13))/4))
    y8 = (2*math.sqrt(2))*(math.cos(math.pi*(abs(abs(t)-13)-abs(abs(t)-15)-1)/4))
    y9 = (5/2)*(abs(abs(t)-15)-abs(abs(t)-16))
    yt = -y1 - y2 - y3 + y4 - y5 - y6 - y7 - y8 - y9 + (11/2)
    return yt

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

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

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

In [4]:
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
6330060021 นาย จุนฑ์ เต็งยะ
$x(t)=cos(7t)cos(11t)$
$y(t)=cos(7t)sin(11t)$
ไม่รู้เหมือนกันครับ
ผมเป็นผู้เลือกสมการและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [5]:
def x(t):
    xt=math.cos(7*t)%u2217math.cos(11*t)
    return xt

def y(t):
    yt=math.cos(7*t)%u2217math.sin(11*t)
    return yt


plot(x,y,0,2*math.pi,0.001)
plt.show()
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-5-930fbe47bf4a> in <module>
      8 
      9 
---> 10 plot(x,y,0,2*math.pi,0.001)
     11 plt.show()

<ipython-input-1-291a3c1a5eb1> in plot(x, y, min_t, max_t, dt)
     12 def plot(x, y, min_t, max_t, dt):
     13     T = setup_T(min_t, max_t, dt)
---> 14     X = [x(t) for t in T]
     15     Y = [y(t) for t in T]
     16     plt.plot( X, Y, 'blue' )

<ipython-input-1-291a3c1a5eb1> in <listcomp>(.0)
     12 def plot(x, y, min_t, max_t, dt):
     13     T = setup_T(min_t, max_t, dt)
---> 14     X = [x(t) for t in T]
     15     Y = [y(t) for t in T]
     16     plt.plot( X, Y, 'blue' )

<ipython-input-5-930fbe47bf4a> in x(t)
      1 def x(t):
----> 2     xt=math.cos(7*t)%u2217math.cos(11*t)
      3     return xt
      4 
      5 def y(t):

NameError: name 'u2217math' is not defined

>>> 6330061721 <<<

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

Prog-02: Beautiful Parametric Equation
6330063021 เจตน์ ทีปะนาถ
$ (sin(t))\times ((e^{cos(t)})-2\times cos(4t)-(sin(t\div 12))^{5}) ของสมการx(t) $
$ (cos(t))\times ((e^{cos(t)})-2\times cos(4t)-(sin(t\div 12))^{5}) ของสมการy(t) $
เป็นโปรแกรมที่สวยงามและรูปร่างคล้ายผีเสื้อ
กระผมขอยืนยันว่าเป็นผู้เลือกและเขียนนิพจน์ทางคณิตศาสตร์ด้วยตนเอง

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

Prog-02: Beautiful Parametric Equation
6330064621 นายเจษฎากร วงศ์สว่างศิริ
$ x(t) = -\frac{119}{9} sin(\frac{1}{10} - 25 t) - \frac{945}{43} sin(\frac{5}{11} - 23 t) - \frac{501}{8} sin(\frac{1}{47} - 10 t) - \frac{801}{20} sin(\frac{13}{10} - 8 t) - \frac{607}{10} sin(\frac{7}{10} - 7 t) - \frac{1975}{9} sin(\frac{3}{7} - 2 t) + \frac{4655}{8} sin(t + \frac{29}{10}) + \frac{773}{7} sin(3 t + \frac{76}{17}) + \frac{1138}{9} sin(4 t + \frac{1}{3}) + \frac{619}{4} sin(5 t + \frac{5}{8}) + \frac{3355}{26} sin(6 t + \frac{13}{10}) + \frac{595}{9} sin(9 t + \frac{28}{11}) + \frac{905}{9} sin(11 t + \frac{40}{11}) + \frac{149}{10} sin(12 t + \frac{7}{11}) + \frac{153}{5} sin(13 t + 2) + \frac{127}{8} sin(14 t + \frac{13}{6}) + \frac{225}{8} sin(15 t + \frac{3}{2}) + \frac{49}{4} sin(16 t + \frac{25}{7}) + \frac{133}{9} sin(17 t + \frac{15}{8}) + \frac{301}{15} sin(18 t + \frac{31}{9}) + \frac{232}{7} sin(19 t + \frac{11}{7}) + \frac{438}{19} sin(20 t + \frac{10}{7}) + \frac{67}{3} sin(21 t + \frac{19}{10}) + \frac{114}{11} sin(22 t + \frac{38}{37}) + \frac{153}{11} sin(24 t + \frac{10}{9}) + \frac{153}{8} sin(26 t + \frac{11}{12}) + \frac{443}{34} sin(27 t + \frac{23}{14}) + \frac{39}{7} sin(28 t + \frac{45}{11}) + \frac{32}{3} sin(29 t + \frac{4}{11}) + \frac{110}{13} sin(30 t + \frac{3}{8}) + \frac{41}{7} sin(31 t + \frac{70}{23}) + \frac{39}{7} sin(32 t + \frac{13}{9}) $
$ y(t) = -\frac{86}{19} sin(\frac{6}{7} - 30 t) - \frac{89}{8} sin(\frac{2}{3} - 29 t) - \frac{687}{49} sin(\frac{4}{9} - 24 t) - \frac{294}{11} sin(\frac{11}{8} - 20 t) - \frac{135}{4} sin(\frac{10}{11} - 17 t) - \frac{71}{7} sin(\frac{1}{6} - 15 t) - \frac{226}{5} sin(\frac{3}{8} - 14 t) - \frac{295}{8} sin(\frac{1}{8} - 11 t) - \frac{220}{7} sin(\frac{17}{16} - 10 t) - \frac{708}{7} sin(\frac{1}{6} - 9 t) - \frac{2017}{8} sin(\frac{5}{4} - 2 t) - \frac{1240}{3} sin(\frac{11}{10} - t) + \frac{104}{15} sin(18 t) + \frac{2216}{7} sin(3 t + \frac{39}{11}) + \frac{601}{3} sin(4 t + \frac{18}{11}) + \frac{468}{11} sin(5 t + \frac{34}{11}) + \frac{127}{7} sin(6 t + \frac{27}{7}) + \frac{457}{8} sin(7 t + \frac{25}{6}) + \frac{201}{4} sin(8 t + \frac{23}{7}) + \frac{71}{3} sin(12 t + \frac{4}{7}) + \frac{340}{7} sin(13 t + \frac{39}{11}) + \frac{216}{7} sin(16 t + \frac{27}{13}) + \frac{31}{5} sin(19 t + \frac{24}{25}) + \frac{8}{5} sin(21 t + \frac{1}{7}) + \frac{217}{11} sin(22 t + \frac{23}{14}) + \frac{34}{3} sin(23 t + \frac{19}{8}) + \frac{157}{9} sin(25 t + \frac{3}{10}) + \frac{69}{4} sin(26 t + \frac{2}{3}) + \frac{29}{5} sin(27 t + \frac{15}{7}) + \frac{58}{7} sin(28 t + \frac{29}{8}) + \frac{95}{11} sin(31 t + \frac{19}{8}) + \frac{34}{9} sin(32 t + \frac{40}{9}) $
โปรแกรมนี้วาดมิกกี้เม้าส์ออกมาได้อย่างสวยงาม
ขอยืนยันว่า ผมเป็นผู้เลือกและเขียนนิพจน์คณิตศาสตร์ของสมการที่เลือกเอง

In [8]:
def x(t):
    xt = -119/9*sin(1/10 - 25*t) - 945/43*sin(5/11 - 23*t) - 501/8*sin(1/47 - 10*t) - 801/20*sin(13/10 - 8*t) - 607/10*sin(7/10 - 7*t) - 1975/9*sin(3/7 - 2*t) + 4655/8*sin(t + 29/10) + 773/7*sin(3*t + 76/17) + 1138/9*sin(4*t + 1/3) + 619/4*sin(5*t + 5/8) + 3355/26*sin(6*t + 13/10) + 595/9*sin(9*t + 28/11) + 905/9*sin(11*t + 40/11) + 149/10*sin(12*t + 7/11) + 153/5*sin(13*t + 2) + 127/8*sin(14*t + 13/6) + 225/8*sin(15*t + 3/2) + 49/4*sin(16*t + 25/7) + 133/9*sin(17*t + 15/8) + 301/15*sin(18*t + 31/9) + 232/7*sin(19*t + 11/7) + 438/19*sin(20*t + 10/7) + 67/3*sin(21*t + 19/10) + 114/11*sin(22*t + 38/37) + 153/11*sin(24*t + 10/9) + 153/8*sin(26*t + 11/12) + 443/34*sin(27*t + 23/14) + 39/7*sin(28*t + 45/11) + 32/3*sin(29*t + 4/11) + 110/13*sin(30*t + 3/8) + 41/7*sin(31*t + 70/23) + 39/7*sin(32*t + 13/9)

    return xt

def y(t):
    yt = -86/19*sin(6/7 - 30*t) - 89/8*sin(2/3 - 29*t) - 687/49*sin(4/9 - 24*t) - 294/11*sin(11/8 - 20*t) - 135/4*sin(10/11 - 17*t) - 71/7*sin(1/6 - 15*t) - 226/5*sin(3/8 - 14*t) - 295/8*sin(1/8 - 11*t) - 220/7*sin(17/16 - 10*t) - 708/7*sin(1/6 - 9*t) - 2017/8*sin(5/4 - 2*t) - 1240/3*sin(11/10 - t) + 104/15*sin(18*t) + 2216/7*sin(3*t + 39/11) + 601/3*sin(4*t + 18/11) + 468/11*sin(5*t + 34/11) + 127/7*sin(6*t + 27/7) + 457/8*sin(7*t + 25/6) + 201/4*sin(8*t + 23/7) + 71/3*sin(12*t + 4/7) + 340/7*sin(13*t + 39/11) + 216/7*sin(16*t + 27/13) + 31/5*sin(19*t + 24/25) + 8/5*sin(21*t + 1/7) + 217/11*sin(22*t + 23/14) + 34/3*sin(23*t + 19/8) + 157/9*sin(25*t + 3/10) + 69/4*sin(26*t + 2/3) + 29/5*sin(27*t + 15/7) + 58/7*sin(28*t + 29/8) + 95/11*sin(31*t + 19/8) + 34/9*sin(32*t + 40/9)

    return yt
plot(x, y, 0, 2*pi, 0.02)
plt.show()
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-8-e20088fd8f41> in <module>
      8 
      9     return yt
---> 10 plot(x, y, 0, 2*pi, 0.02)
     11 plt.show()

NameError: name 'pi' is not defined

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

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

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

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

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

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

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

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

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

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

In [14]:
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
6330072621 นายชญาวิช อัศวกนกศิลป์
$x(t)=11cos(t)-6cos(11t\div{6})$
$y(t)=11sin(t)-6sin(11t\div{6})$
โปรแกรมนี้วำดลวดลายที่ทำให้ตรงกลางมีลายดอกไม้อย่างสวยงาม
ผมเป็นผู้เลือกสมกำรข้ำงบนและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง

In [15]:
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
6330073221 นายชนกชนม์ วงษ์นิ่ม
$x(t) = 4*math.sin(-1*t)**2 * \ 2**(math.cos(math.cos(6.533*t)))$
$y(t) = 4*math.sin(math.sin(-6*t))* \ math.cos(6.533*t)**2$
โปรแกรมนี้วำดลวดลำยอ่อนชอ้ยสวยงำมสะดุดตา
ผมเป็นผู้เลือกสมการข้ำงบนและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง

In [16]:
def x(t):
    xt = 4*math.sin(-1*t)**2 * \
 2**(math.cos(math.cos(6.533*t)))
    return xt

def y(t):
    yt =  4*math.sin(math.sin(-6*t))* \
 math.cos(6.533*t)**2
    return yt

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

Prog-02: Beautiful Parametric Equation
6330074921 นายชนเกียรติ เธียรภักดิพัฒน์
$x(t) =6sin(13.58t)nint*{\sqrt{cos(cos(7.4t)}} $
$y(t) =6cos(13.58t)^4sin(sin(7.4t) $
โปรแกรมที่มีลวดลายคล้ายปราสาทในรัสเซีย
ผมเป็นคนค้นหาและเขียนด้วยตัวเองกับมือทั้งหมด

In [17]:
def x(t):
    xt = 6*math.sin(13.58*t)*round(math.sqrt(math.cos(math.cos(7.4*t))),0)
    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()

>>> 6330075521 <<<

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

In [18]:
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.001)

plt.show()

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

In [19]:
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, 24*math.pi, 0.02)
plt.show()

Prog-02: Gorgeous Parametric Equation
6330077821 ชนันธร ดีประเสริฐ
$x(t) =cos(t)-cos(100t)sin(t)$
$y(t) =2sin(t)-sin(100t)$
โปรเเกรมนี้วาดด้วยความพิถีพิถันจากใจ
ดิฉันเป็นผู้เลิอกสมการข้างบนเเละเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง

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

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

In [21]:
def x(t):
    xt = 0.01*math.exp(0.3*t)*math.cos(t)
    return xt
def y(t):
    yt = 0.01*math.exp(0.3*t)*math.sin(t)
    return yt
plot(x, y, 0,100 , 0.1)
plt.show()

Prog-02: Beautiful Parametric Equation
6330079021 ชนาเทพ ไชยเอีย
$ x(t)=2t+2cos(22.5t)+(2/t) $
$ y(t)=2t+2sin(24t)+(2/t) $
รูปนี้เป็นรอยสักสุดเท่ห์ของชนเผ่าโบราณในออสเตเรีย ว้าวสุดยอด
ผมขอยืนยันนนนนนน (น.หนูล้านตัว) ว่าผมเป็นคนเลือกสมการเเละทําเองเทุกขั้นตอน

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

Prog-02: Beautiful Parametric Equation
6330080621 ชนาธิป กุลสิริลักษณ์
$x(t)=4((sin(6.04(t/3)))/(0.3+(sin^2(t))))$
$y(t)=7cos(t)sin^4(6.04t)$
ภาพนี้จะทำให้คุณดำดิ่งลงในโลกแห่งศิลปะที่ยากจะเข้าใจ
ผมเป็นผู้เลือกสมการและเขียนพจน์คณิตศาสตร์ด้วยตนเอง

In [23]:
def x(t):
    xt = 4*((math.sin(6.04*(t/3)))/(0.3+(math.sin(t))**2))
    return xt
def y(t):
    yt = 7*math.cos(t)*(math.sin(6.04*t))**4
    return yt

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

Prog-02: Beautiful Parametric Equations
6330081221 ชนาธิป เชื้อโฮม
$x(t)=11cos(t)-6cos(11t/6)$
$y(t)=11sin(t)-6sin(11t/6)$
โปรแกรมนี้แสดงกราฟเส้นที่มีลวดลายสวยงาม
ผมขอยืนยันว่าผมเป็นผู้เลือกและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [24]:
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/6)*t)
    return yt

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

Prog-02: Beautiful Parametric Equation
6330083521 นายชนุดม อุ่นเอกลาภ
$xt = 2*(math.sin(math.cos(7.94*round(t))))*1.2*(1+math.cos(14.34*t))$
$yt = 2*(math.cos(14.34*t)**2)*math.sin(7.94*t)$
โปรแกรมสามารถอ่านค่าการทำงานได้มากมาย ไม่ใช่แค่การเขียนโปรแกรม แต่สามารถสร้างจินตนาการได้ด้วย
ผมเป็นคนเลือกและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเองทั้งหมด รูปที่เลือกมาคือดอกไม้ทิวลิป

In [25]:
def x(t):
 xt = 2*(math.sin(math.cos(7.94*round(t))))*1.2*(1+math.cos(14.34*t))
 return xt
def y(t):
 yt = 2*(math.cos(14.34*t)**2)*math.sin(7.94*t)
 return yt
plot(x, y, -2, 2, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6330084121 ชนุตร ช่วยดำรงค์
$ cos(16t)+cos(6t)/2+sin(10t)/3 $
$ sin(16t)+sin(6t)/2+cos(10t)/3 $
โปรแกรมมีความดึงดูดน่าสนใจ
ขอยืนยันว่าเป็นผู้เลือกและเขียนนิพจน์ของสมการเองครับ

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

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

In [27]:
def x(t):
    xt = math.cos(2*t)-math.cos(60*t)
    return xt
                
def y(t):
    yt = math.sin(2*t)-math.sin(120*t)
    return yt

plot(x, y, -10, 10, 0.0000005)
plt.show()
---------------------------------------------------------------------------
MemoryError                               Traceback (most recent call last)
<ipython-input-27-9a9216095712> in <module>
      7     return yt
      8 
----> 9 plot(x, y, -10, 10, 0.0000005)
     10 plt.show()

<ipython-input-1-291a3c1a5eb1> in plot(x, y, min_t, max_t, dt)
     12 def plot(x, y, min_t, max_t, dt):
     13     T = setup_T(min_t, max_t, dt)
---> 14     X = [x(t) for t in T]
     15     Y = [y(t) for t in T]
     16     plt.plot( X, Y, 'blue' )

<ipython-input-1-291a3c1a5eb1> in <listcomp>(.0)
     12 def plot(x, y, min_t, max_t, dt):
     13     T = setup_T(min_t, max_t, dt)
---> 14     X = [x(t) for t in T]
     15     Y = [y(t) for t in T]
     16     plt.plot( X, Y, 'blue' )

MemoryError: 

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

In [28]:
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, -6.3, 6.3, 0.1)
plt.show()

Prog-02: Beautiful Parametric Equation
6330087021 นายชยางกูร สอนเสนา
$x(t)=(3t/20000)+(cos(37πt/10000))^6sin((t/10000)^7(3π/5))+(9/7)(cos(37πt/10000))^16(cos(πt/20000))^12sin(πt/10000)$
$y(t)=(-5/4)(cos(37πt/10000))^6cos((t/10000)^7(3π/5))(1+3(cos(πt/20000)cos(3πt/20000))^8)+(2/3)(cos(3πt/200000)cos(9πt/200000)cos(9πt/100000))^12$
โปรแกรมนี้เป็นการวาดรูปนกแก้วตัวใหญ่สวยงาม
ผมเป็นผู้เลือกสมการข้างต้นและเขียนนิพจน์ทางคณิตศาสตร์เองทั้งหมด

In [29]:
def x(t):
 xt = ((3*t)/20000)+ ((cos((37*pi*t)/10000))**6) * sin(((t/10000)**7) * ((3*pi)/5))+(9/7) * \
 (cos((37*pi*t)/10000)**16) * (cos((pi*t)/20000)**12) * (sin((pi*t)/10000))
 return xt
def y(t):
 yt = (-5/4)*(cos((37*pi*t)/10000)**6)*cos(((t/10000)**7)*((3*pi)/5))* \
 (1+(3*( cos((pi*t)/20000) * cos((3*pi*t)/20000) )**8))+(2/3)* \
 (( cos((3*pi*t)/200000) * cos((9*pi*t)/200000) * cos((9*pi*t)/100000) )**12)
 return yt
plot(x, y, -10000, 10000, 0.1)
plt.show()
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-29-451277afc0e3> in <module>
      8  (( cos((3*pi*t)/200000) * cos((9*pi*t)/200000) * cos((9*pi*t)/100000) )**12)
      9  return yt
---> 10 plot(x, y, -10000, 10000, 0.1)
     11 plt.show()

<ipython-input-1-291a3c1a5eb1> in plot(x, y, min_t, max_t, dt)
     12 def plot(x, y, min_t, max_t, dt):
     13     T = setup_T(min_t, max_t, dt)
---> 14     X = [x(t) for t in T]
     15     Y = [y(t) for t in T]
     16     plt.plot( X, Y, 'blue' )

<ipython-input-1-291a3c1a5eb1> in <listcomp>(.0)
     12 def plot(x, y, min_t, max_t, dt):
     13     T = setup_T(min_t, max_t, dt)
---> 14     X = [x(t) for t in T]
     15     Y = [y(t) for t in T]
     16     plt.plot( X, Y, 'blue' )

<ipython-input-29-451277afc0e3> in x(t)
      1 def x(t):
----> 2  xt = ((3*t)/20000)+ ((cos((37*pi*t)/10000))**6) * sin(((t/10000)**7) * ((3*pi)/5))+(9/7) * \
      3  (cos((37*pi*t)/10000)**16) * (cos((pi*t)/20000)**12) * (sin((pi*t)/10000))
      4  return xt
      5 def y(t):

NameError: name 'cos' is not defined

Prog-02: Beautiful Parametric Equation
6330088721 ชยุต กฤตวีรนันท์
$x=cos(t)-cos(7t)^{3}$
$y=sin(t)-sin(7t)^{3}$
โปรแกรมนี้วาดรูปได้งดงามและดูสะอาดตา
ผมเป็นผู็ที่เลือกสมการข้างต้นและทำด้วยตัวเองแน่นอนครับ

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

Prog-02: Beautiful Parametric Equation
6330089321 ชยุต ฤทัยธนารัตน์
$x(t)=\cos(t)-\frac{\cos(t)^4}{\sqrt{2}}$
$y(t)=\sin(t)\cos(t)$
โปรแกรมนี้วาดปลาน้อยสุดน่ารัก
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง

In [31]:
def x(t):
    xt = math.cos(t) - math.cos(t)**4/math.sqrt(2)
    return xt

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

plot(x, y, 0, 96*math.pi, 0.8)
plt.show()

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

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

Prog-02:Beautiful Parametric Equation
6330092121 ชยุตม์ สิงห์ลอ
$x(t) = sin(1.07t+\pi)e^(-0.03t) $y(t) = sin(t)e^(-0.03t)
โปรแกรมนี้ลวดลายสวยงาม
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [33]:
def x(t):
    xt = math.sin(1.07*t+math.pi)*math.exp(-0.03*t)
    return xt

def y(t):
    yt = math.sin(t)*math.exp(-0.03*t)
    return yt

plot(x, y, 0, 36*math.pi, 0.01)
plt.show()

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

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

Prog-02: Beautiful Parametric Equation
6330094421 ชวนิน ช่วงชัยชัชวาล
$x(t)= t-1.6cos(24t)$
$y(t)=t-1.6sin(25t)$
โปรแกรมนี้เหมือนเกลียวdna
เลือกเองหาเองเขียนเองครับ

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

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

In [36]:
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, t, 0, 2*math.pi)
plt.show()
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-36-301d92506a5b> in <module>
     10 
     11 
---> 12 plot(x, y, t, 0, 2*math.pi)
     13 plt.show()

NameError: name 't' is not defined

Prog-02: Beautiful Parametric Equation
6330096721 ชวิน มาลีพัตร
$x(t)=−3sin(3/2−42t)−12/5sin(1/2−40t)−3sin(6/5−38t)−11/4sin(13/12−34t)−7/2sin(1/9−31t)−7/6sin(3/4−24t)−22/3sin(2/3−21t)−23/2sin(1/3−17t)−6sin(3/4−15t)−289/9sin(1/3−10t)−37/3sin(4/3−6t)+938/3sin(t+9/5)+125/2sin(2t+7/3)+221/3sin(3t+11/3)+97sin(4t+11/3)+16/3sin(5t+3/4)+32sin(7t+11/6)+188/7sin(8t+13/4)+47/4sin(9t+3)+81/5sin(11t+5/2)+97/4sin(12t+21/5)+113/7sin(13t+9/5)+100/3sin(14t+3/2)+7/2sin(16t+4/3)+44/3sin(18t+4)+43/6sin(19t+5/2)+21/4sin(20t+9/2)+15/2sin(22t+10/3)+9/8sin(23t+4/3)+7/3sin(25t+1/5)+15/7sin(26t+5/4)+3sin(27t+13/4)+3/2sin(28t+10/3)+2sin(29t+19/6)+7/2sin(30t+1/4)+10/3sin(32t+15/4)+7/3sin(33t+3/2)+7/4sin(35t+5/2)+17/6sin(36t+8/3)+6/7sin(37t+17/6)+4sin(39t+11/6)+1/2sin(41t+3)+2sin(43t+7/6)+3sin(44t+1/5)$
$y(t)=−5/4sin(4/3−43t)−9/4sin(2/5−42t)−11/3sin(8/7−38t)−4sin(1/8−34t)−10/9sin(4/3−33t)−17/8sin(4/3−31t)−3/2sin(3/2−29t)−sin(3/4−27t)−17/3sin(3/2−24t)−11/2sin(1/5−21t)−5/2sin(1/2−16t)−29/4sin(5/4−13t)−81/2sin(2/3−10t)−409/6sin(1/10−3t)−81sin(1/4−2t)+81/8sin(4t)+61/2sin(5t)+619/2sin(t+11/3)+191/5sin(6t+9/2)+36sin(7t+4)+115/4sin(8t+17/4)+64sin(9t+11/3)+19/2sin(11t+1/8)+20/3sin(12t+2/3)+161/8sin(14t+1/2)+17/2sin(15t+1)+11sin(17t+1)+24/5sin(18t+9/2)+13/5sin(19t+4)+49/12sin(20t+13/4)+23/6sin(22t+27/7)+5sin(23t+7/3)+19/5sin(25t+5/4)+5/3sin(26t+20/7)+8/3sin(28t+9/2)+3/2sin(30t+1/10)+1/2sin(32t+10/3)+5/3sin(35t+4)+25/8sin(36t+11/6)+14/5sin(37t+13/6)+7/3sin(39t+8/3)+5/4sin(40t+7/4)+5/4sin(41t+15/4)+2sin(44t+1/2)$
รูปกระต่ายที่สร้างด้วยค่า sin และฟังก์ชันที่ยาวมากครับ
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์ทางคณิตศาสตร์ด้วยตัวเอง

In [37]:
def x(t):
    xt = -3*math.sin(3/2 - 42*t) - 12/5*math.sin(1/2 - 40*t) - 3*math.sin(6/5 - 38*t) - 11/4*math.sin(13/12 - 34*t) - 7/2*math.sin(1/9 - 31*t) - 7/6*math.sin(3/4 - 24*t) - 22/3*math.sin(2/3 - 21*t) - 23/2*math.sin(1/3 - 17*t) - 6*math.sin(3/4 - 15*t) - 289/9*math.sin(1/3 - 10*t) - 37/3*math.sin(4/3 - 6*t) + 938/3*math.sin(t + 9/5) + 125/2*math.sin(2*t + 7/3) + 221/3*math.sin(3*t + 11/3) + 97*math.sin(4*t + 11/3) + 16/3*math.sin(5*t + 3/4) + 32*math.sin(7*t + 11/6) + 188/7*math.sin(8*t + 13/4) + 47/4*math.sin(9*t + 3) + 81/5*math.sin(11*t + 5/2) + 97/4*math.sin(12*t + 21/5) + 113/7*math.sin(13*t + 9/5) + 100/3*math.sin(14*t + 3/2) + 7/2*math.sin(16*t + 4/3) + 44/3*math.sin(18*t + 4) + 43/6*math.sin(19*t + 5/2) + 21/4*math.sin(20*t + 9/2) + 15/2*math.sin(22*t + 10/3) + 9/8*math.sin(23*t + 4/3) + 7/3*math.sin(25*t + 1/5) + 15/7*math.sin(26*t + 5/4) + 3*math.sin(27*t + 13/4) + 3/2*math.sin(28*t + 10/3) + 2*math.sin(29*t + 19/6) + 7/2*math.sin(30*t + 1/4) + 10/3*math.sin(32*t + 15/4) + 7/3*math.sin(33*t + 3/2) + 7/4*math.sin(35*t + 5/2) + 17/6*math.sin(36*t + 8/3) + 6/7*math.sin(37*t + 17/6) + 4*math.sin(39*t + 11/6) + 1/2*math.sin(41*t + 3) + 2*math.sin(43*t + 7/6) + 3*math.sin(44*t + 1/5)



    return xt
def y(t):
    yt = -5/4*math.sin(4/3 - 43*t) - 9/4*math.sin(2/5 - 42*t) - 11/3*math.sin(8/7 - 38*t) - 4*math.sin(1/8 - 34*t) - 10/9*math.sin(4/3 - 33*t) - 17/8*math.sin(4/3 - 31*t) - 3/2*math.sin(3/2 - 29*t) - math.sin(3/4 - 27*t) - 17/3*math.sin(3/2 - 24*t) - 11/2*math.sin(1/5 - 21*t) - 5/2*math.sin(1/2 - 16*t) - 29/4*math.sin(5/4 - 13*t) - 81/2*math.sin(2/3 - 10*t) - 409/6*math.sin(1/10 - 3*t) - 81*math.sin(1/4 - 2*t) + 81/8*math.sin(4*t) + 61/2*math.sin(5*t) + 619/2*math.sin(t + 11/3) + 191/5*math.sin(6*t + 9/2) + 36*math.sin(7*t + 4) + 115/4*math.sin(8*t + 17/4) + 64*math.sin(9*t + 11/3) + 19/2*math.sin(11*t + 1/8) + 20/3*math.sin(12*t + 2/3) + 161/8*math.sin(14*t + 1/2) + 17/2*math.sin(15*t + 1) + 11*math.sin(17*t + 1) + 24/5*math.sin(18*t + 9/2) + 13/5*math.sin(19*t + 4) + 49/12*math.sin(20*t + 13/4) + 23/6*math.sin(22*t + 27/7) + 5*math.sin(23*t + 7/3) + 19/5*math.sin(25*t + 5/4) + 5/3*math.sin(26*t + 20/7) + 8/3*math.sin(28*t + 9/2) + 3/2*math.sin(30*t + 1/10) + 1/2*math.sin(32*t + 10/3) + 5/3*math.sin(35*t + 4) + 25/8*math.sin(36*t + 11/6) + 14/5*math.sin(37*t + 13/6) + 7/3*math.sin(39*t + 8/3) + 5/4*math.sin(40*t + 7/4) + 5/4*math.sin(41*t + 15/4) + 2*math.sin(44*t + 1/2)
    return yt
plot(x, y, 0,2*math.pi,0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6330097321 ชวิศ หาญพานิช
$x(t) = 2.4Cos[t] + 1.6Cos[3 t/2]$
$y(t) = 2.4Sin[t] - 1.6Sin[3 t/2]$
โปรเเกรมนี้เเสดงให้เห็นถึงความงดงามของดวงดาวซึ่งสื่อไปถึงความโชคดีเเละความเป็นที่สุด
ขอยืนยันว่าผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง

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

Prog-02: Beautiful Parametric Equation
6330098021 ชัชชน ปรัชญาพิพัฒน์
$ x(t) = sin(2t)/(4+t^2) $
$ y(t) = cos(2t)/(4+t^2) $
ภาพเหมือนการมองลวดลายภายในท่อยาว ซึ่งลายเป็นรูปแบบเดิมไปเรื่อยๆ
ผมขอยืนยันวันเป็นผู้เลือกสมการคณิตศาสตร์และเขียนนิพจน์คณิตศาสตร์ด้วยตัวเองครับ

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

prog-02: Beautiful Parametric Equation
6330099621 นายชัชชัย โพธิ์นา
$x(t)=4cos(-11*t/4)+7cos(t)$
$x(t)=4sin(-11*t/4)+7sin(t)$
โปรแกรมนี้เเสดงผล รูปดอกไม้บนกราฟ
โปรแกรมนี้ได้ถูกสร้างขึ้นโดนกระผมเพียงผู้เดียว

In [40]:
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
6330100521 นายชัชว์ วัฒนพร
$x(t)=2.4cos(t)+1.6cos(3t/2)$
$y(t)=2.4sin(t)-1.6sin(3t/2)$
โปรแกรมนี้ได้ขีดเขียนแต่งเติมสมการที่เป็นระเบียบให้มีความสวยงามมากมาย
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [41]:
def x(t):
  xt = 2.4*math.cos(t)+1.6*math.cos((3*t)/2)
  return xt
def y(t):
  yt = 2.4*math.sin(t)-1.6*math.sin((3*t)/2)
  return yt
plot(x, y, 0, 4*math.pi, 0.01)
plt.show()

Prog-02: Beautiful Parametric Equation
6330101121 ชัญญานุช ภิญโญสวัสดิ์สกุล
$ x(t) = 10sin(2.78t)round(cos(cos(8.2t))^0.5 $
$ y(t) = 9(cos(2.78t))^2sin(sin(8.2t)) $
เจ๋งมาก
ขอยืนยันว่าเขียนเองทำเองค่า

In [42]:
def x(t): 
     xt = 10*math.sin(2.78*t)*round(math.cos(math.cos(8.2*t)))**0.5
     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, -6.2, 6.2, 0.01)
plt.show()

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

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

>>> 6330103421 <<<

In [44]:
def x(t):
  xt = 8*math.cos(7*t)*math.cos(11*t)
  return xt
def y(t):
  yt = 8*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
6330104021 ชาญกิจ สุขสุวรรณวีรี
$x(t) = 10sin(9.9t)round(sqrt{\cos(\cos(10t))})$
$y(t) = 9cos^2(9.9t)\sin(\sin(10t))$
โปรแกรมนี้มีลวดลายโค้งงออย่างสมมาตร และสวยงาม
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเองแน่นอน

In [45]:
def x(t):
    xt = 10*math.sin(9.9*t)*round(math.sqrt(math.cos(math.cos(10*t))))
    return xt
def y(t):
    yt = 9*pow(math.cos(9.9*t),2)*math.sin(math.sin(10*t))
    return yt
plot(x, y, -6, 6, 0.01)
plt.show()

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

In [46]:
def x(t):
     xt = 2*math.cos(t)+math.sin(2*t)*math.cos(60*t)
     return xt
def y(t):
     yt = math.sin(2*t)+math.sin(60*t)
     return yt
plot(x, y, -6, 6, 0.00001)
plt.show()

>>> 6330106321 <<<

Prog-02: Beautiful Parametric Equation
63301063321 นายชาติชาย บุญเอื้อเบญจมาส
$x(t)=3cos(cos(7.32round(t)))1.2(1+cos(16.6t))$
$y(t)=3sin^2(16.6t)sin(7.32t)$
โปรแกรมนี้ถูกวาดด้วยลวดลายที่แปลกตาคล้ายหัวหอมชื่อว่าLongitudinal section of onion bulb
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์ด้วยตัวเองแน่นอน

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

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

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

Prog-2: Beautiful Parametric Equation
6330108621 ชาลิสา วงศ์ทวีทอง
${cos(16^t)+(cos(6^t))/2}+{(sin(10^t))/3} ${sin(16^t)+(sin(6^t))/2}+{(cos(10^t))/3}
ดิฉันได้ออกแบบและทำงานนี้ด้วยตัวเอง

In [49]:
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, 1000, 50000, 500)
plt.show()

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

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

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

In [51]:
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
6330111421 นายชิษณุพงศ์ บรมัตถ์
$x(t)=2t+2cos(22.5t)+2/t$
$y(t)=2t+2sin(24t)+2/t$
โปรแกรมใช้รูปที่ดูสวยงาน มองแล้วมีความเพลิดเพลิน
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

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

In [53]:
def x(t):
    xt = 3*math.cos(t) - math.pow(math.cos(4*t),3)
    return xt
def y(t):
    yt = 2*math.sin(t)-math.pow(math.sin(2*t),3)
    return yt
plot(x, y,  -2, 8, 0.1)
plt.show()

prog-02: Beautiful Parametric Equation
6330113721 โชคชัย ชูพาณิชสกุล
$x(t) = 4cos(2.16t)^2.5 $
$y(t) = 2sin(sin(2.8t)) cos(2.16t)^2$
โปรมแกรมนี้วาดกราฟได้สุดตะลึง ตะลึงตึงโบ๊ะมาก
ผมเป็นผู้ถูกเลือกจากสวรรค์ให้วาดรูปและเขียนโค้ดสมการข้างต้นด้วยตัวเอง

In [54]:
def x(t):
    xt = 4*(math.cos(2.16*t)**2.5)
    return xt

def y(t):
    yt = 2*math.sin(math.sin(2.8*t))*(math.cos(2.16*t)**2)
    return yt

plot(x, y, -64, 128, 0.1)
plt.show()
c:\users\somch\appdata\local\programs\python\python38-32\lib\site-packages\numpy\core\_asarray.py:83: ComplexWarning: Casting complex values to real discards the imaginary part
  return array(a, dtype, copy=False, order=order)