fbpx
วิกิพีเดีย

Inclinedthrow

Inclinedthrow.gif(400 × 288 พิกเซล, ขนาดไฟล์: 374 กิโลไบต์, ชนิดไมม์: image/gif, วนซ้ำ, 102 เฟรม, 10 วินาที)

รูปภาพหรือไฟล์เสียงนี้ ต้นฉบับอยู่ที่ คอมมอนส์ รายละเอียดด้านล่าง เป็นข้อความที่แสดงผลจาก ไฟล์ต้นฉบับในคอมมอนส์
คอมมอนส์เป็นเว็บไซต์ในโครงการสำหรับเก็บรวบรวมสื่อเสรี ที่ คุณสามารถช่วยได้

ความย่อ

คำอธิบาย
English: Trajectories of three objects thrown at the same angle (70°). The black object doesn't experience any form of drag and moves along a parabola. The blue object experiences Stokes' drag, and the green object Newton drag.
วันที่
แหล่งที่มา งานของตัว
ผู้สร้างสรรค์ AllenMcC.
เวอร์ชันอื่น Inclinedthrow2.gif
GIF genesis
InfoField
 
ไฟล์GIF ภาพกราฟิกส์เวกเตอร์นี้ สร้างขึ้นโดยใช้ Matplotlib
Source code
InfoField

Python code

#!/usr/bin/python3 # -*- coding: utf8 -*- import os import inspect from math import * import numpy as np from scipy.integrate import odeint from scipy.optimize import newton import matplotlib as mpl import matplotlib.pyplot as plt from matplotlib import animation # settings mpl.rcParams['path.snap'] = False fname = 'inclinedthrow' size = 400, 288 l, w, b, h = 22.5/size[0], 1-23/size[0], 22.5/size[1], 1-23/size[1] nframes = 102 delay = 8 lw = 1. ms = 6 c1, c2, c3 = "#000000", "#0000ff", "#007100" def projectile_motion(g, mu, pot, xy0, vxy0, tt): # use a four-dimensional vector function vec = [x, y, vx, vy] def dif(vec, t): # time derivative of the whole vector vec v = hypot(vec[2], vec[3]) vxrel, vyrel = vec[2] / v, vec[3] / v return [vec[2], vec[3], -mu * v**pot * vxrel, -g - mu * v**pot * vyrel] # solve the differential equation numerically vec = odeint(dif, [xy0[0], xy0[1], vxy0[0], vxy0[1]], tt) return vec[:, 0], vec[:, 1], vec[:, 2], vec[:, 3] # return x, y, vx, vy g = 1. theta = radians(70) v0 = sqrt(g/sin(2*theta)) vinf = 2.1 # use identical terminal velocity vinf for both types of friction mu_stokes = g / vinf**1 mu_newton = g / vinf**2 x0, y0 = 0.0, 0.0 vx0, vy0 = v0 * cos(theta), v0 * sin(theta) T = newton(lambda t: projectile_motion(g, 0, 0, (x0, y0), (vx0, vy0), [0, t])[1][1], 2*vy0/g) nsub = 10 tt = np.linspace(0, T * nframes / (nframes - 1), (nframes - 1) * nsub + 1) traj_free = projectile_motion(g, 0, 0, (x0, y0), (vx0, vy0), tt) traj_stokes = projectile_motion(g, mu_stokes, 1, (x0, y0), (vx0, vy0), tt) traj_newton = projectile_motion(g, mu_newton, 2, (x0, y0), (vx0, vy0), tt) def animate(nframe, saveframes=False): print(nframe, '/', nframes) t = T * float(nframe) / nframes plt.clf() fig.gca().set_position((l, b, w, h)) fig.gca().set_aspect("equal") plt.xlim(0, 1) plt.ylim(0, (h*size[1]) / (w*size[0])) plt.xticks([]), plt.yticks([]) plt.xlabel('Distance', size=12) plt.ylabel('Height', size=12) plt.plot(traj_free[0][:nframe*nsub+1], traj_free[1][:nframe*nsub+1], '-', lw=lw, color=c1) plt.plot(traj_free[0][nframe*nsub], traj_free[1][nframe*nsub], 'ok', color=c1, markersize=ms, markeredgewidth=0) plt.plot(traj_stokes[0][:nframe*nsub+1], traj_stokes[1][:nframe*nsub+1], '-', lw=lw, color=c2) plt.plot(traj_stokes[0][nframe*nsub], traj_stokes[1][nframe*nsub], 'ok', color=c2, markersize=ms, markeredgewidth=0) plt.plot(traj_newton[0][:nframe*nsub+1], traj_newton[1][:nframe*nsub+1], '-', lw=lw, color=c3) plt.plot(traj_newton[0][nframe*nsub], traj_newton[1][nframe*nsub], 'ok', color=c3, markersize=ms, markeredgewidth=0) if saveframes: # export frame dig = int(ceil(log10(nframes))) fsavename = ('frame{:0' + str(dig) + '}.svg').format(nframe) fig.savefig(fsavename) with open(fsavename) as f: content = f.read() content = content.replace('pt"', 'px"').replace('pt"', 'px"') with open(fsavename, 'w') as f: f.write(content) fig = plt.figure(figsize=(size[0]/72., size[1]/72.)) os.chdir(os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))) for i in range(nframes): animate(i, True) os.system('convert -loop 0 -delay ' + str(delay) + ' frame*.svg +dither ' + fname + '.gif') # keep last frame for two seconds os.system('gifsicle -k32 --color-method blend-diversity -b ' + fname + '.gif -d' + str(delay) + ' "#0-' + str(nframes-2) + '" -d200 "#' + str(nframes-1) + '"') for i in os.listdir('.'): if i.startswith('frame') and i.endswith('.svg'): os.remove(i) 

การอนุญาตใช้สิทธิ

ข้าพเจ้า ในฐานะผู้ถือลิขสิทธิ์ของภาพหรือสื่อนี้ อนุญาตให้ใช้ภาพหรือสื่อนี้ภายใต้เงื่อนไขต่อไปนี้

ไฟล์นี้อยู่ภายใต้สัญญาอนุญาต ครีเอทีฟคอมมอนส์ แบบแสดงที่มา-อนุญาตแบบเดียวกัน 3.0 ต้นฉบับ
คุณสามารถ:
  • ที่จะแบ่งปัน – ที่จะทำสำเนา แจกจ่าย และส่งงานดังกล่าวต่อไป
  • ที่จะเรียบเรียงใหม่ – ที่จะดัดแปลงงานดังกล่าว
ภายใต้เงื่อนไขต่อไปนี้:
  • แสดงที่มา – คุณต้องให้เกียรติเจ้าของงานอย่างเหมาะสม โดยเพิ่มลิงก์ไปยังสัญญาอนุญาต และระบุหากมีการเปลี่ยนแปลง คุณอาจทำเช่นนี้ได้ในรูปแบบใดก็ได้ตามควร แต่ต้องไม่ใช่ในลักษณะที่แนะว่าผู้ให้อนุญาตสนับสนุนคุณหรือการใช้งานของคุณ
  • อนุญาตแบบเดียวกัน – หากคุณดัดแปลง เปลี่ยนรูป หรือต่อเติมงานนี้ คุณต้องใช้สัญญาอนุญาตแบบเดียวกันหรือแบบที่เหมือนกับสัญญาอนุญาตที่ใช้กับงานนี้เท่านั้น

คำบรรยายโดยย่อ

เพิ่มคำบรรยายทรรทัดเดียวเพื่อขยายความว่าไฟล์นี้มีอะไร

ไอเทมที่แสดงอยู่ในไฟล์นี้

ประกอบด้วย

ผู้สร้าง

บางค่าที่ไม่มีไอเทมวิกิสนเทศ

ชื่อผู้สร้างสรรค์: AllenMcC.
ยูอาร์แอล: https://commons.wikimedia.org/wiki/user:AllenMcC.
ชื่อผู้ใช้วิกิมีเดีย: AllenMcC.

สถานะลิขสิทธิ์

มีลิขสิทธิ์

สัญญาอนุญาต

Creative Commons Attribution-ShareAlike 3.0 Unported อังกฤษ

วันที่สร้าง/วันก่อตั้ง

15 ธันวาคม 2008

ที่มาของไฟล์

การสร้างดั้งเดิมโดยผู้อัปโหลด

ประวัติไฟล์

คลิกวันที่/เวลาเพื่อดูไฟล์ที่ปรากฏในขณะนั้น

วันที่/เวลารูปย่อขนาดผู้ใช้ความเห็น
ปัจจุบัน23:10, 21 ตุลาคม 2563400 × 288 (374 กิโลไบต์)Geek3adjusted friction coefficients such to make terminal velocity of both trajectories equal. In this case, the Newton projectile moves further.
19:57, 21 ตุลาคม 2552400 × 288 (453 กิโลไบต์)AllenMcC.added Newton drag
07:40, 22 ธันวาคม 2551400 × 299 (393 กิโลไบต์)AllenMcC.== Summary == {{Information |Description={{en|1=Trajectories of two objects thrown at the same angle. The blue object doesn't experience any drag and moves along a parabola. The black object experiences Stokes' drag.}} |Source=Own work by uploader |Author
03:12, 19 ธันวาคม 2551400 × 299 (393 กิโลไบต์)AllenMcC.== Summary == {{Information |Description={{en|1=Trajectories of two objects thrown at the same angle. The blue object doesn't experience any drag and moves along a parabola. The black object experiences Stokes' drag.}} |Source=Own work by uploader |Author
11:07, 15 ธันวาคม 2551700 × 519 (636 กิโลไบต์)AllenMcC.{{Information |Description={{en|1=Trajectories of two objects thrown at the same angle. The blue object doesn't experience friction and moves along a parabola. The black object experiences Stokes friction.}} |Source=Own work by uploader |Author=[[User:All

หน้าต่อไปนี้ โยงมาที่ภาพนี้:

การใช้ไฟล์ส่วนกลาง

วิกิอื่นต่อไปนี้ใช้ไฟล์นี้:

  • بالستيات
  • مسار
  • فيزياء الكرة النطاطة
  • Лабавое супраціўленне
  • Trajectòria (cinemàtica)
  • Trajektorie (Physik)
  • Benutzer Diskussion:Gaussianer/Beta/Reibung
  • Reichweite (Rakete)
  • Ballistics
  • Drag (physics)
  • Talk:Field line
  • Wikipedia talk:Requests for arbitration/Tang Dynasty
  • Wikipedia:Requests for arbitration/Tang Dynasty/Workshop
  • User:Enkyo2/Sandbox-L
  • User:Enkyo2/Sandbox-M
  • Talk:Senkaku Islands/Archive 5
  • Bouncing ball
  • Wikipedia:Arbitration/Requests/Clarification and Amendment/Archive 34
  • Resistencia (fluidos)
  • גרר (כוח)
  • Balistika
  • Kosi hitac
  • Materijalna točka
  • Jednadžba gibanja
  • Ballisztikus pálya
  • Ճակատային դիմադրություն
  • ดูการใช้ทั่วโลกเพิ่มเติมของไฟล์นี้

    ไฟล, inclinedthrow, ไฟล, ประว, ไฟล, หน, าท, ภาพน, การใช, ไฟล, วนกลางไม, ภาพท, รายละเอ, ยดส, งกว, าน, inclinedthrow, 8206, กเซล, ขนาดไฟล, โลไบต, ชน, ดไมม, image, วนซ, เฟรม, นาท, ปภาพหร, อไฟล, เส, ยงน, นฉบ, บอย, คอมมอนส, รายละเอ, ยดด, านล, าง, เป, นข, อความท, แส. ifl prawtiifl hnathimiphaphni karichiflswnklangimmiphaphthimiraylaexiydsungkwani Inclinedthrow gif 8206 400 288 phikesl khnadifl 374 kiolibt chnidimm image gif wnsa 102 efrm 10 winathi rupphaphhruxiflesiyngni tnchbbxyuthi khxmmxns raylaexiyddanlang epnkhxkhwamthiaesdngphlcak ifltnchbbinkhxmmxns khxmmxnsepnewbistinokhrngkarsahrbekbrwbrwmsuxesri thi khunsamarthchwyid khwamyx khaxthibayInclinedthrow gif English Trajectories of three objects thrown at the same angle 70 The black object doesn t experience any form of drag and moves along a parabola The blue object experiences Stokes drag and the green object Newton drag wnthi 15 thnwakhm ph s 2551aehlngthima ngankhxngtwphusrangsrrkh AllenMcC ewxrchnxun Inclinedthrow2 gifGIF genesisInfoField iflGIF phaphkrafiksewketxrni srangkhunodyich MatplotlibSource codeInfoFieldPython code usr bin python3 coding utf8 import os import inspect from math import import numpy as np from scipy integrate import odeint from scipy optimize import newton import matplotlib as mpl import matplotlib pyplot as plt from matplotlib import animation settings mpl rcParams path snap False fname inclinedthrow size 400 288 l w b h 22 5 size 0 1 23 size 0 22 5 size 1 1 23 size 1 nframes 102 delay 8 lw 1 ms 6 c1 c2 c3 000000 0000ff 007100 def projectile motion g mu pot xy0 vxy0 tt use a four dimensional vector function vec x y vx vy def dif vec t time derivative of the whole vector vec v hypot vec 2 vec 3 vxrel vyrel vec 2 v vec 3 v return vec 2 vec 3 mu v pot vxrel g mu v pot vyrel solve the differential equation numerically vec odeint dif xy0 0 xy0 1 vxy0 0 vxy0 1 tt return vec 0 vec 1 vec 2 vec 3 return x y vx vy g 1 theta radians 70 v0 sqrt g sin 2 theta vinf 2 1 use identical terminal velocity vinf for both types of friction mu stokes g vinf 1 mu newton g vinf 2 x0 y0 0 0 0 0 vx0 vy0 v0 cos theta v0 sin theta T newton lambda t projectile motion g 0 0 x0 y0 vx0 vy0 0 t 1 1 2 vy0 g nsub 10 tt np linspace 0 T nframes nframes 1 nframes 1 nsub 1 traj free projectile motion g 0 0 x0 y0 vx0 vy0 tt traj stokes projectile motion g mu stokes 1 x0 y0 vx0 vy0 tt traj newton projectile motion g mu newton 2 x0 y0 vx0 vy0 tt def animate nframe saveframes False print nframe nframes t T float nframe nframes plt clf fig gca set position l b w h fig gca set aspect equal plt xlim 0 1 plt ylim 0 h size 1 w size 0 plt xticks plt yticks plt xlabel Distance size 12 plt ylabel Height size 12 plt plot traj free 0 nframe nsub 1 traj free 1 nframe nsub 1 lw lw color c1 plt plot traj free 0 nframe nsub traj free 1 nframe nsub ok color c1 markersize ms markeredgewidth 0 plt plot traj stokes 0 nframe nsub 1 traj stokes 1 nframe nsub 1 lw lw color c2 plt plot traj stokes 0 nframe nsub traj stokes 1 nframe nsub ok color c2 markersize ms markeredgewidth 0 plt plot traj newton 0 nframe nsub 1 traj newton 1 nframe nsub 1 lw lw color c3 plt plot traj newton 0 nframe nsub traj newton 1 nframe nsub ok color c3 markersize ms markeredgewidth 0 if saveframes export frame dig int ceil log10 nframes fsavename frame 0 str dig svg format nframe fig savefig fsavename with open fsavename as f content f read content content replace pt px replace pt px with open fsavename w as f f write content fig plt figure figsize size 0 72 size 1 72 os chdir os path dirname os path abspath inspect getfile inspect currentframe for i in range nframes animate i True os system convert loop 0 delay str delay frame svg dither fname gif keep last frame for two seconds os system gifsicle k32 color method blend diversity b fname gif d str delay 0 str nframes 2 d200 str nframes 1 for i in os listdir if i startswith frame and i endswith svg os remove i karxnuyatichsiththi khapheca inthanaphuthuxlikhsiththikhxngphaphhruxsuxni xnuyatihichphaphhruxsuxniphayitenguxnikhtxipniiflnixyuphayitsyyaxnuyat khriexthifkhxmmxns aebbaesdngthima xnuyataebbediywkn 3 0 tnchbbkhunsamarth thicaaebngpn thicathasaena aeckcay aelasngngandngklawtxip thicaeriyberiyngihm thicaddaeplngngandngklaw phayitenguxnikhtxipni aesdngthima khuntxngihekiyrtiecakhxngnganxyangehmaasm odyephimlingkipyngsyyaxnuyat aelarabuhakmikarepliynaeplng khunxacthaechnniidinrupaebbidkidtamkhwr aettxngimichinlksnathiaenawaphuihxnuyatsnbsnunkhunhruxkarichngankhxngkhun xnuyataebbediywkn hakkhunddaeplng epliynrup hruxtxetimnganni khuntxngichsyyaxnuyataebbediywknhruxaebbthiehmuxnkbsyyaxnuyatthiichkbnganniethannhttps creativecommons org licenses by sa 3 0 CC BY SA 3 0 Creative Commons Attribution Share Alike 3 0 true truekhabrryayodyyxithyephimkhabrryaythrrthdediywephuxkhyaykhwamwaiflnimixairixethmthiaesdngxyuiniflniprakxbdwyphusrangbangkhathiimmiixethmwikisnethschuxphusrangsrrkh AllenMcC yuxaraexl https commons wikimedia org wiki user AllenMcC chuxphuichwikimiediy AllenMcC sthanalikhsiththimilikhsiththisyyaxnuyatCreative Commons Attribution ShareAlike 3 0 Unported xngkvswnthisrang wnkxtng15 thnwakhm 2008thimakhxngiflkarsrangdngedimodyphuxpohld prawtiifl khlikwnthi ewlaephuxduiflthipraktinkhnann wnthi ewlarupyxkhnadphuichkhwamehn pccubn23 10 21 tulakhm 2563400 288 374 kiolibt Geek3adjusted friction coefficients such to make terminal velocity of both trajectories equal In this case the Newton projectile moves further 19 57 21 tulakhm 2552400 288 453 kiolibt AllenMcC added Newton drag 07 40 22 thnwakhm 2551400 299 393 kiolibt AllenMcC Summary Information Description en 1 Trajectories of two objects thrown at the same angle The blue object doesn 039 t experience any drag and moves along a parabola The black object experiences Stokes 039 drag Source Own work by uploader Author 03 12 19 thnwakhm 2551400 299 393 kiolibt AllenMcC Summary Information Description en 1 Trajectories of two objects thrown at the same angle The blue object doesn 039 t experience any drag and moves along a parabola The black object experiences Stokes 039 drag Source Own work by uploader Author 11 07 15 thnwakhm 2551700 519 636 kiolibt AllenMcC Information Description en 1 Trajectories of two objects thrown at the same angle The blue object doesn 039 t experience friction and moves along a parabola The black object experiences Stokes friction Source Own work by uploader Author User All hnathimiphaphni hnatxipni oyngmathiphaphni withisastr karichiflswnklang wikixuntxipniichiflni karichbn af wikipedia org Ballistiek karichbn ar wikipedia org مقاومة مائع بالستيات مسار فيزياء الكرة النطاطة karichbn be wikipedia org Traektoryya Labavoe supraciylenne karichbn bg wikipedia org Traektoriya karichbn bn wikipedia org ক ষ পণব জ ঞ ন karichbn bs wikipedia org Balistika karichbn ca wikipedia org Mecanica classica Trajectoria cinematica karichbn cv wikipedia org Traektori karichbn da wikipedia org Ballistik karichbn de wikipedia org Ballistik Trajektorie Physik Benutzer Diskussion Gaussianer Beta Reibung Reichweite Rakete karichbn el wikipedia org Blhtikh karichbn en wikipedia org Trajectory Ballistics Drag physics Talk Field line Wikipedia talk Requests for arbitration Tang Dynasty Wikipedia Requests for arbitration Tang Dynasty Workshop User Enkyo2 Sandbox L User Enkyo2 Sandbox M Talk Senkaku Islands Archive 5 Bouncing ball Wikipedia Arbitration Requests Clarification and Amendment Archive 34 karichbn eo wikipedia org Trajektorio karichbn es wikipedia org Trayectoria Resistencia fluidos karichbn eu wikipedia org Ibilbide fisika karichbn fa wikipedia org بالستیک مکانیک karichbn fi wikipedia org Heittoliike karichbn ga wikipedia org Cultarraingt karichbn he wikipedia org בליסטיקה גרר כוח karichbn hi wikipedia org प र क ष प क karichbn hr wikipedia org Putanja Balistika Kosi hitac Materijalna tocka Jednadzba gibanja karichbn ht wikipedia org Trajektwa karichbn hu wikipedia org Ballisztika Ballisztikus palya karichbn hy wikipedia org Հետագիծ Ճակատային դիմադրություն dukarichthwolkephimetimkhxngiflni ekhathungcak https th wikipedia org wiki ifl Inclinedthrow gif, wikipedia, วิกิ หนังสือ, หนังสือ, ห้องสมุด,

    บทความ

    , อ่าน, ดาวน์โหลด, ฟรี, ดาวน์โหลดฟรี, mp3, วิดีโอ, mp4, 3gp, jpg, jpeg, gif, png, รูปภาพ, เพลง, เพลง, หนัง, หนังสือ, เกม, เกม