fbpx
วิกิพีเดีย

Mplwp ballistic trajectories velocities

ดูภาพที่มีความละเอียดสูงกว่า((ไฟล์ SVG, 600 × 400 พิกเซล, ขนาดไฟล์: 29 กิโลไบต์))

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

ความย่อ

คำอธิบาย
English: Plot of a ballistic trajectory with air resistance. The trajectory follows the differential equation with initial conditions .

The parameters are:

  • , ,
  • The initial velocity takes the values , , , ,
The differential equation is solved numerically using Scipy odeint.
วันที่
แหล่งที่มา งานของตัว
ผู้สร้างสรรค์ Geek3
SVG genesis
InfoField
 
ซอร์สโค้ดของ SVG นี้ตรวจสอบถูกต้องแล้ว
 
ไฟล์ภาพกราฟิกส์เวกเตอร์นี้ สร้างขึ้นโดยใช้ mplwp
Source code
InfoField

mplwp source code

The plot was generated with mplwp 1.0
#!/usr/bin/python # -*- coding: utf8 -*- import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np from math import * code_website = 'http://commons.wikimedia.org/wiki/User:Geek3/mplwp' try: import mplwp except ImportError, er: print 'ImportError:', er print 'You need to download mplwp.py from', code_website exit(1) name = 'mplwp_ballistic_trajectories_velocities.svg' fig = mplwp.fig_standard(mpl) xlim = 0,2.6; fig.gca().set_xlim(xlim) ylim = 0,2.6*355/515.; fig.gca().set_ylim(ylim) fig.gca().xaxis.set_major_locator(mpl.ticker.MultipleLocator(0.4)) fig.gca().yaxis.set_major_locator(mpl.ticker.MultipleLocator(0.4)) from scipy.integrate import odeint from scipy.optimize import brentq def ballistic(g, k, xy0, v0, alpha0, tt): # use a four-dimensional vector function vec = [x, y, vx, vy] def dif(vec, t): v = sqrt(vec[2]**2 + vec[3]**2) return [vec[2], vec[3], -k*v*vec[2], -g -k*v*vec[3]] # solve the differential equation numerically vec = odeint(dif, [xy0[0], xy0[1], v0*cos(alpha0), v0*sin(alpha0)], tt) return vec[:,0], vec[:,1] # return x(tt) and y(tt) g = 1.0 k = 1.0 alpha0 = pi/4 for v0 in np.linspace(0, 10, 6)[1:]: t1 = brentq(lambda t: ballistic(g,k,[0,0],v0,alpha0,[0,t])[1][1],0.1,5) t = np.linspace(0, t1, 5001) x, y = ballistic(g, k, [0, 0], v0, alpha0, t) while len(y) > 1 and y[-2] <= 0.0: x = x[:-1]; y = y[:-1] plt.plot(x, y, label=ur'$v_0=\,{:.0f}$'.format(v0)) mpl.rc('legend', borderaxespad=1.0) plt.legend(loc='upper left').get_frame().set_alpha(0.9) plt.savefig(name) mplwp.postprocess(name) 

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

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

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

ดูเพิ่ม

  • Trajectories with varying initial angle: Mplwp ballistic trajectories angles.svg
  • Trajectories with varying drag coefficient: Mplwp ballistic trajectories resistances.svg

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

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

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

ประกอบด้วย

ผู้สร้าง

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

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

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

มีลิขสิทธิ์

สัญญาอนุญาต

GNU Free Documentation License, version 1.2 or later อังกฤษ

Creative Commons Attribution 3.0 Unported อังกฤษ

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

28 กันยายน 2014

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

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

ประวัติไฟล์

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

วันที่/เวลารูปย่อขนาดผู้ใช้ความเห็น
ปัจจุบัน21:00, 28 กันยายน 2557600 × 400 (29 กิโลไบต์)Geek3ballistic_trajectories_velocities plot by Geek3

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

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

  • Kosi hitac
  • Jednadžba gibanja
  • Wikipedysta:Jcubic/knowledge/krzywe parametryczne
  • Kretanje hica
  • Putanja
  • ข้อมูลเกี่ยวกับภาพ

    ไฟล, mplwp, ballistic, trajectories, velocities, ไฟล, ประว, ไฟล, หน, าท, ภาพน, การใช, ไฟล, วนกลาง, อม, ลเก, ยวก, บภาพขนาดของต, วอย, าง, ของไฟล, กเซล, ความละเอ, ยดอ, กเซล, กเซล, กเซล, กเซล, กเซล, ภาพท, ความละเอ, ยดส, งกว, 8206, ไฟล, กเซล, ขนาดไฟล, โลไบต, ปภาพหร. ifl prawtiifl hnathimiphaphni karichiflswnklang khxmulekiywkbphaphkhnadkhxngtwxyang PNG nikhxngifl SVG ni 600 400 phikesl khwamlaexiydxun 320 213 phikesl 640 427 phikesl 1 024 683 phikesl 1 280 853 phikesl 2 560 1 707 phikesl duphaphthimikhwamlaexiydsungkwa 8206 ifl SVG 600 400 phikesl khnadifl 29 kiolibt rupphaphhruxiflesiyngni tnchbbxyuthi khxmmxns raylaexiyddanlang epnkhxkhwamthiaesdngphlcak ifltnchbbinkhxmmxns khxmmxnsepnewbistinokhrngkarsahrbekbrwbrwmsuxesri thi khunsamarthchwyid enuxha 1 khwamyx 2 mplwp source code 3 karxnuyatichsiththi 4 duephim khwamyx khaxthibayMplwp ballistic trajectories velocities svg English Plot of a ballistic trajectory with air resistance The trajectory follows the differential equation r t k v v g y displaystyle ddot vec r t k v cdot vec v g cdot hat vec y with initial conditions r 0 0 r 0 v 0 x cos a 0 y sin a 0 displaystyle vec r 0 vec 0 dot vec r 0 v 0 hat vec x cos alpha 0 hat vec y sin alpha 0 The parameters are g 1 displaystyle g 1 k 1 displaystyle k 1 a 0 45 displaystyle alpha 0 45 circ The initial velocity takes the values v 0 2 displaystyle v 0 2 v 0 4 displaystyle v 0 4 v 0 6 displaystyle v 0 6 v 0 8 displaystyle v 0 8 v 0 10 displaystyle v 0 10 The differential equation is solved numerically using Scipy odeint wnthi 28 knyayn ph s 2557aehlngthima ngankhxngtwphusrangsrrkh Geek3SVG genesisInfoField sxrsokhdkhxng SVG nitrwcsxbthuktxngaelw iflphaphkrafiksewketxrni srangkhunodyich mplwpSource codeInfoFieldmplwp source code The plot was generated with mplwp 1 0 usr bin python coding utf8 import matplotlib pyplot as plt import matplotlib as mpl import numpy as np from math import code website http commons wikimedia org wiki User Geek3 mplwp try import mplwp except ImportError er print ImportError er print You need to download mplwp py from code website exit 1 name mplwp ballistic trajectories velocities svg fig mplwp fig standard mpl xlim 0 2 6 fig gca set xlim xlim ylim 0 2 6 355 515 fig gca set ylim ylim fig gca xaxis set major locator mpl ticker MultipleLocator 0 4 fig gca yaxis set major locator mpl ticker MultipleLocator 0 4 from scipy integrate import odeint from scipy optimize import brentq def ballistic g k xy0 v0 alpha0 tt use a four dimensional vector function vec x y vx vy def dif vec t v sqrt vec 2 2 vec 3 2 return vec 2 vec 3 k v vec 2 g k v vec 3 solve the differential equation numerically vec odeint dif xy0 0 xy0 1 v0 cos alpha0 v0 sin alpha0 tt return vec 0 vec 1 return x tt and y tt g 1 0 k 1 0 alpha0 pi 4 for v0 in np linspace 0 10 6 1 t1 brentq lambda t ballistic g k 0 0 v0 alpha0 0 t 1 1 0 1 5 t np linspace 0 t1 5001 x y ballistic g k 0 0 v0 alpha0 t while len y gt 1 and y 2 lt 0 0 x x 1 y y 1 plt plot x y label ur v 0 0f format v0 mpl rc legend borderaxespad 1 0 plt legend loc upper left get frame set alpha 0 9 plt savefig name mplwp postprocess name karxnuyatichsiththi khapheca inthanaphuthuxlikhsiththikhxngphaphhruxsuxni xnuyatihichphaphhruxsuxniphayitenguxnikhtxipni xnuyatihkhdlxk aeckcayaela hruxddaeprexksarniphayitenguxnikhkhxngsyyaxnuyatexksaresrikhxngknu run 1 2 hruxrunid nbcaknithixxkodymulnithisxftaewresri odyimmiswnidhamaekikh immikhxkhwampkhnaaelapkhlng saenakhxngsyyaxnuyatrwmxyuinswnchux syyaxnuyatexksaresrikhxngknuhttp www gnu org copyleft fdl html GFDL GNU Free Documentation License true trueiflnixyuphayitsyyaxnuyatkhriexthifkhxmmxns run aesdngthima 3 0 tnchbbkhunsamarth thicaaebngpn thicathasaena aeckcay aelasngngandngklawtxip thicaeriyberiyngihm thicaddaeplngngandngklaw phayitenguxnikhtxipni aesdngthima khuntxngihekiyrtiecakhxngnganxyangehmaasm odyephimlingkipyngsyyaxnuyat aelarabuhakmikarepliynaeplng khunxacthaechnniidinrupaebbidkidtamkhwr aettxngimichinlksnathiaenawaphuihxnuyatsnbsnunkhunhruxkarichngankhxngkhunhttps creativecommons org licenses by 3 0 CC BY 3 0 Creative Commons Attribution 3 0 true truekhunsamartheluxksyyaxnuyatdngklawtamtxngkar duephim Trajectories with varying initial angle Mplwp ballistic trajectories angles svg Trajectories with varying drag coefficient Mplwp ballistic trajectories resistances svgkhabrryayodyyxithyephimkhabrryaythrrthdediywephuxkhyaykhwamwaiflnimixairixethmthiaesdngxyuiniflniprakxbdwyphusrangbangkhathiimmiixethmwikisnethschuxphusrangsrrkh Geek3chuxphuichwikimiediy Geek3yuxaraexl http commons wikimedia org wiki User Geek3sthanalikhsiththimilikhsiththisyyaxnuyatGNU Free Documentation License version 1 2 or later xngkvsCreative Commons Attribution 3 0 Unported xngkvswnthisrang wnkxtng28 knyayn 2014thimakhxngiflkarsrangdngedimodyphuxpohld prawtiifl khlikwnthi ewlaephuxduiflthipraktinkhnann wnthi ewlarupyxkhnadphuichkhwamehn pccubn21 00 28 knyayn 2557600 400 29 kiolibt Geek3ballistic trajectories velocities plot by Geek3 hnathimiphaphni hnatxipni oyngmathiphaphni karekhluxnthiaebbophreckithl phuich Phromkham krabathray karekhluxnthiaebbophreckithl karichiflswnklang wikixuntxipniichiflni karichbn cs wikipedia org Vrh sikmy karichbn da wikipedia org Skudbane karichbn en wikipedia org Projectile motion karichbn eu wikipedia org Higidura paraboliko karichbn fr wikipedia org Trajectoire d un projectile karichbn hr wikipedia org Balistika Kosi hitac Jednadzba gibanja karichbn mk wikipedia org Balistika karichbn nl wikipedia org Kogelbaan karichbn pl wikipedia org Krzywa balistyczna Wikipedysta Jcubic knowledge krzywe parametryczne karichbn sh wikipedia org Jednadzba gibanja Kretanje hica Putanja karichbn sl wikipedia org Balistika karichbn zh wikipedia org User Wener 6022 平抛运动khxmulekiywkbphaph phaphnimikhxmulephimetim sungswnihymacakklxngdicitxlhruxsaeknenxrthisamarthekbkhxmuldngklawiwrwmkbphaphid thaphaphnithukprbprungaekikhhruxepliynaeplngcakedim khxmulbangxyangcayngkhngimepliynaeplngehmuxnphaphthithukprbprungaekikhnnchuxeruxngsnmplwp ballistic trajectories velocities svgchuxphaphhttp commons wikimedia org wiki File mplwp ballistic trajectories velocities svg Plot created with mplwp the Matplotlib extension for Wikipedia plots khwamkwang600pxkhwamsung400px ekhathungcak https th wikipedia org wiki ifl Mplwp ballistic trajectories velocities svg, wikipedia, วิกิ หนังสือ, หนังสือ, ห้องสมุด,

    บทความ

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