Programming Assignment #02 (Section 7)

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
6331107121 นายณัฐวัตร ฐาปนสมบูรณ์
$ 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, 2*math.pi, 0.001)
plt.show()

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

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

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

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

Prog-02 : Beautiful Parametric Equation
6331112221 ธนพัฒน์ สุวรรณวัฒนะ
$x(t) = 30\sqrt{3}t$
$y(t) = 30t-5t^{2}$
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง

In [5]:
def x(t):
 xt = 30*math.sqrt(3)*t
 return xt
def y(t):
 yt = (30*t)-5*t**2
 return yt
plot(x, y, 0, 5, 0.01)
plt.show()

>>> 6331113921 <<<

Prog-02 : Beautiful Parametric Equation
6331137021 อาเจ๋ แซ่หลิง
$ x(t)=4cos(-11t/4)+7cos(t) $
$ y(t)=4sin(-11t/4)+7sin(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, -20, 6, 0.01)
plt.show()

Prog-02 : Beautiful Parametric Equation
6331114521 ธนัญญา แก้วพิภพ
$ x(t) = 2(-3sin(5t)(cos(4t))(sin(0.5t+sin((0.8)(-3sin(5t)cos(4t)))) (cos(-3sin(5t)cos(4t)) $
$ y(t) = -1.5(-3sin(5t)cos(4t))cos((0.5)t+sin((0.8)(-3sin(5t)cos(4t)))) $
$ f(t) = -3sin(5t)cos(4t) $
$ g(t) = (0.5)t+sin((0.8)(-3sin(5t)cos(4t))) $
เป็นรูปภาพที่ดิฉันตั้งใจเลือกและทำ เพราะรูปภาพนี้เป็นรูแของดอกไม้ที่มีความสวยงามและเป็นเอกลักษณ์ที่แฝงไปด้วยนัยความที่แตกต่างกันออกไป
เช่น แสดงถึงความอ่อนหวาน มีไหวพริบ อ่อนช้อย ฯลฯ
ดิฉันขอยืนนยันว่าดิฉันเป็นผู้เขียนโปรแกรมพาราเมทริกซ์นี้ด้วยตนเอง
อย่างน่นอน

In [7]:
def x(t):
    xt = 2*(-3*math.sin(5*t)*math.cos(4*t))*math.sin((0.5)*t+math.sin((0.8)*(-3*math.sin(5*t)*math.cos(4*t))))*math.cos(-3*math.sin(5*t)*math.cos(4*t))
    return xt
def y(t):
    yt = -1.5*(-3*math.sin(5*t)*math.cos(4*t))*math.cos((0.5)*t+math.sin((0.8)*(-3*math.sin(5*t)*math.cos(4*t))))
    return yt
def f(t):
    ft = -3*math.sin(5*t)*math.cos(4*t)
    return ft
def g(t):
    gt = (0.5)*t+math.sin((0.8)*(-3*math.sin(5*t)*math.cos(4*t)))
    return gt
plot(x, y, 0, 2*math.pi, 0.001)
plt.show()

Prog-02: Beautiful Parametric Equation
6331115121 ธรรมวงศ์ ศรีสวัสดิ์
$x(t)=t+tcos(8t)$
$y(t)=t+tsin(8t)$
เป็นสิ่งมหัศจรรย์ที่หาดูได้ยากมาก สมควรแก่การชม
ผม ธรรมวงศ์ เป็นผู้เลือกสมการสองสมการนี้และเขียนนิพจน์คณิตศาสตร์ของสองสมการที่เลือก

In [8]:
def x(t):
 xt = t+t*math.cos(8*t)
 return xt
def y(t):
 yt = t+t*math.sin(8*t)
 return yt
plot(x, y, 0.2, 14, 0.01)
plt.show()

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

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

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

In [10]:
def x(t):
    xt = 3*(math.cos(3.5*t+(math.sin(6.75*t))**3))**2
    return xt
def y(t):
    yt = 2*(math.sin(3.5*t))**2 * \
         math.sin(math.sin(13.5*t))
    return yt
plot(x, y, -10, 10, 1)
plt.show()

Prog-02: Beautiful Parametric Equation
6331118021 บราลี เกาะสมุทร
$cos(16t)+cos(6t)/2+sin(10t)/3$
$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, -3, 3, 0.15)
plt.show()

Prog-02 : Beautiful Parametric Equation
6331119721 ปานนภ อังสุนันท์
$x(t) = 30\sqrt{3}t$
$y(t) = 30t-5t^{3}$
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตนเอง

In [12]:
def x(t):
 xt = 30*math.sqrt(3)*t
 return xt
def y(t):
 yt = (30*t)-5*t**3
 return yt
plot(x, y, 0, 5, 0.01)
plt.show()

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

In [13]:
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
6331121921 พรลภัส สุนทรเรืองศิริ
$ xt = -35*cos(t) + 65*cos(-0.35*t) $
$ yt = -35*sin(t) + 65*sin(-0.35*t) $
โปรแกรมนี้วาดเป็นรูปดอกทานตะวันที่ผมชอบ
ผมเป็นเลือกสมการนี้ด้วยตนเองคับ

In [14]:
def x(t):
    xt =  -35*math.cos(t)+65*math.cos(-0.35*t)
    return xt 
def y(t): 
    yt =  -35*math.sin(t)+65*math.sin(-0.35*t)
    return yt
plot(x, y, -110,110,0.1)
plt.show()

>>> 6331122521 <<<

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

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

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

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

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

In [17]:
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
6331125421 นาย ยศพัทธ์ ศรีภูมิชัย
$x(t)=cos(80t)-cos(1t)^3$
$y(t)=sin(1t)-sin(80t)^3$
โปรแกรมสามารถทำลวดลายสวยๆได้มากเช่นอันนี้ที่เป็นรูปวงกลมสี่วงทับซ้อนกัน
ผมเป็นผู้เลือกสมการนี้ด้วยตัวเองเพราะเห็นว่าลวดลายนี้เป็นลวดลายที่แปลกแต่สวย

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

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

plot(x, y, 60,69, 0.0001)
plt.show()

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

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

Prog-02: Parametric Equations
6331127721 วรภพ กลั่นเจริญ
$ x(t) = 4cos((-11)t/4) + 7cos(t)$
$ y(t) = 4sin((-11)t/4) + 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, -10, 15.5, 0.05)

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

In [21]:
def x(t): 
    xt = math.cos(7*t)*math.cos(20*t)
    return xt

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


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

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

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

Prog-02: Beautiful Parametric Equation
6331131121 สุธิมนต์ เลาหธีรวัฒน์
$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, 2*math.pi, 0.1)
plt.show()

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

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

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

In [25]:
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
6331134021 นายสุภณัฏฐ์ สิปิยารักษ์
$ x(t)=t+tcos(8t) $
$ y(t)=t+tsin(8t) $
โปรเเกมนี้มีความโค้งมนสุดๆ
ผมเขียนโปรเเกมข้าบนด้วยตัวเองครับ

In [26]:
def x(t):
    xt = t+(t*math.cos(8*t))
    return xt
def y(t):
    yt = t+(t*math.sin(8*t))
    return yt
plot(x, y, 0.2, 14, 0.01)
plt.show()

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

In [27]:
def x(t):
    xt = 5.5*math.cos(t)+(3.4*math.cos(3*t/2))
    return xt
                       
def y(t):
    yt = 5.5*math.sin(t)-(3.4*math.sin(3*t/2))
    return yt
plot(x, y, -20, 20, 0.001)
plt.show()

Prog-02 : Beautiful Parametric Equation
6331137021 อาเจ๋ แซ่หลิง
$ 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, -6, 6, 0.01)
plt.show()

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

In [29]:
def x(t):
    xt = (math.sin(40*t)-(math.cos(-0.2*t)**3))-(math.sin(0.4*t)+math.cos(80*t)**4)
    return xt
    
def y(t) :
    yt = (math.sin(0.4*t)-math.cos(80*t)**4)+(math.sin(40*t)+(math.cos(-0.2*t)**3))
    return yt

plot(x, y, -1, 100, 0.0001) 
plt.show()

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

In [30]:
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
6331204321 จิราวรรณ ขันธหัตถ์
$x(t)= cos(at)-cos(bt)**3$
$y(t)= sin(ct)-sin(dt)**4$
โปรแกรมนี้มีความสวยงามและน่าอัศจรรย์
ดิฉันเป็นผู้เลือกและเขียนนิพจน์คณิตศาสตร์ของสมการด้วยตัวเอง

In [31]:
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(1*t)**4
    return yt
plot(x,y, -3 , 3,0.0001)
plt.show()

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

In [32]:
def x(t):
    xt = (math.cos(4*t))+(math.cos(1.5*t))*0.5+(math.sin(2.5*t))*0.333
    return xt

def y(t):
    yt = (math.sin(4*t))+(math.sin(1.5*t))*0.5+(math.cos(2.5*t))*0.333
    return yt

plot(x, y, -100*math.pi, 100*math.pi, 0.1)
plt.show()

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

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

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

In [34]:
def x(t):
    xt = (-35*math.cos(t))+(65*math.cos(-0.35*t))
    return xt
def y(t):
    yt = (-35*math.sin(t))+(65*math.sin(-0.35*t))
    return yt
plot(x, y, -1000, 1000, 1)
plt.show()

>>> 6331209521 <<<

In [35]:
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()

>>> 6331501721 <<<

In [36]:
def x(t):
    xt =  5*math.cos(t)
    return xt
def y(t):
    yt =  5*math.sin(t)
    return yt

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

Prog-02: Beautiful Parametric Equation
6331503021 เจนจิรา บุรพรัตน์
$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)}$
โปรแกรมนี้ลวดลายสวยงาม
ดิฉันเป็นผู้เลือกสมการข้างบนและเขียนนพจน์คณิตศาสตร์ด้วยตัวเอง

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

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

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

Prog-02: Nice Parametric Equation
6331505221 นาย ฉัตรพศุตม์ วุฒิพฤกษ์
x(t)= 6\,\cos(3t)
y(t)= 9\,\sin(6t)
โปรแกรมนี้พลอตรูปที่มีลวดลายแปลกตาน่าสนใจ
ผมเป็นผู้เลือกสมการด้านบนและเขียนนิพจน์คณิตศำสตร์ด้วยตนเอง

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

your code goes here# Prog-02: Beautiful Parametric Equation
6331506921 ชลธร สุขสวัสดิ์
$x(t)=6math.sin(9.52t)round(math.sqrt(math.cos(math.cos(4.8t))))$
$y(t)=6(math.cos(9.52t)^4)math.sin(math.sin(4.8t))$
โปรแกรมนี้มีลวดลายที่สวยงามอย่างมาก
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [40]:
def x(t):
    xt = 6*math.sin(9.52*t)*round(math.sqrt(math.cos(math.cos(4.8*t))))
    return xt
 
 
def y(t):
    yt = 6*(math.cos(9.52*t)**4)*math.sin(math.sin(4.8*t))
    return yt
 
 
plot(x, y, -8, 8,0.01)
plt.show()

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

In [41]:
def x(t):
    xt = math.cos(t)-math.cos(100*t)*math.sin(t)
    return xt
def y(t):
    yt = 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
6331509821 นางสาวไดอารี่ ซี
$x(t) =3sin(5t) + sin(2t) + sin(4t) $y(t) =3cos(5t) + cos(2t) + cos(4t)
โปรแกรมนี้วาดภาพหลอดไฟที่กำลังส่องสว่างซึ่งแสดงถึงการจุดประกายความคิด
หนูเป็นผู้คิดสมการข้างบนและเขียนนิพจน์คณิตศาสตร์ด้วยตัวเอง

In [42]:
def x(t) :
    xt = 3*math.sin(t*5) + math.sin(t*2) + math.sin(t*4) 
    return xt
def y(t) :
    yt = 3*math.cos(t*5) + math.cos(t*2) + math.cos(t*4) 
    return yt
plot(x, y, 0, 16*math.pi, 0.0001)
plt.show()

Prog-02: Beautiful Parametric Equation
6331510321 ธนดล จันทรสวาท
$x(t)=cos(4t)cos(t)$
$y(t)=cos(4t)sin(t)$
โปรแกรมนี้สามารถแสดงกราฟของสมการได้หลายหลายสมการ
ผมเป็นผู้เลือกสมการนี้มาเองครับ

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

Prog-02: Parametric Equation
6331512621 นาย ปุญญพัฒน พนาลิกุล
$xt = 5*math.cos(t-3) * 3*math.cos(t-2)$
$8*math.sin(t*4) - 7*math.sin(t*8)$
โปรแกรมนี้วาดลวดลายได้เสมือนจริงและนำมาศึกษาวิชาได้หลากหลายแขนง
ผมเป็นผู้เลือกสมการข้างบนและเขียนนิพจน์คณิตศำสตร์ด้วยตัวเอง

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

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

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

def y(t):
    yt = 10*math.cos(t) - 5*math.cos(2*t) - 2*math.cos(3*t) - math.cos(4*t)
    return yt
plot(x, y, 0, 2*math.pi, 0.1)
plt.show()

Prog-02: Beautiful Parametric Equation
6331515521 ศวิษฐ์ ณ ระนอง
$ x(t)=\sin\(t\)\(e^{\cos\(t\)}-2\cos\(4t\)-\(\sin\(\frac{t}{12}\)\)^{5}\) $
$ y(t)=\sin\(t\)\(e^{\cos\(t\)}-2\cos\(4t\)-\(\sin\(\frac{t}{12}\)\)^{5}\) $
โปรแกรมวาดภาพได้สวยงาม และมีรายละเอียด

ขอยืนยันว่าเป็นผู้เลือกนิพจน์ และเขียนนิพจน์คณิตศาสตร์ที่ได้ทำการเลือก

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

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

In [47]:
def x(t):
    xt = 11*math.cos(t) - 6*math.cos((1.833)*t)
    return xt

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

plot(x, y, -20*math.pi, 20*math.pi, 0.1)
plt.show()

Prog-02: Beautiful Parametric Equation
6331518421 นายอัครวิทย์ ศรีวิเชียร
$x(t)=(4(1-t)+1t )sin((3)6.2832t)$
$y(t)=(4(1-t)+1t )cos((3)6.2832t)$
โปรแกรมนี้วาดเป็นรูปวงกลมขดเหมือนเปลือกหอย
ผมเป็นผู้เลือกโปรแกรมนี้เองและเขียนด้วยตนเอง

In [48]:
def x(t):
    xt = (4*(1-t)+1*t ) * math.sin(3*6.2832*t)
    return xt

def y(t):
    yt = (4*(1-t)+1*t ) * math.cos(3*6.2832*t)
 
    return yt
plot(x, y, 0, 2*math.pi, 0.01)
plt.show()