File:BaseballProjectileGraph.svg
Original file (SVG file, nominally 1,000 × 1,000 pixels, file size: 7 KB)
Summary
[edit]Description |
Trajectory of a projectile with viscous resistance, that is Stokes' law. Note that this only applies for low Reynolds numbers and thus in air only for tiny objects at very low velocity, certainly not a baseball. Instead, a drag force proportional to v² would have to be considered. |
---|---|
Source |
Own work . Created myself to replace using Gnuplot, labels added afterwards. |
Date |
27 November 2006 |
Author | |
Permission (Reusing this file) |
See below.
|
trajectory with Stokes drag:
# http://en.wikipedia.org/wiki/Wikipedia:How_to_create_graphs_for_Wikipedia_articles#SVG
set terminal svg enhanced size 1000 1000 fname "Times" fsize 36
# Sensible ranges
set yrange [-10:60]
set xrange [0:250]
# "ground"
set xzeroaxis lt -1
# Constants given in the article.
g=9.81
vt=33.0
v0=44.7
m=0.145
k=(m*g)/vt
theta=pi/4 # 45 deg.
# Some stuff not included in gnuplot 4.0-0.
e=2.71828183 #euler's constant
ln(q)=log(q)/log(e)
# Work out the time from the x coord (rearrangement by Derive).
tfromx(x)=-m*ln((m*v0*cos(theta)-k*x)/(m*v0*cos(theta)))/k
# Colours as article.
set style line 1 lt 2
set style line 2 lt 1
# Equation without air-resistance.
na(x)=x*tan(theta) - g*x**2/(2*(v0*cos(theta))**2)
# Equation with air-resistance.
ar(x)=(m*v0*sin(theta)/k)*(1-e**(-k*tfromx(x)/m)) - (m**2*g/k**2)*(e**(-k*tfromx(x)/m) + k*tfromx(x)/m - 1)
# Go!
plot na(x) ti "Without air-resistance", ar(x) ti "With air-resistance"
However, it seems that the SVG renderer here is completely different to local, if anyone wants to fix it, feel free.
Licensing
[edit]I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide. If this is not legally possible: |
This file is a candidate to be copied to Wikimedia Commons.
Any user may perform this transfer; refer to Wikipedia:Moving files to Commons for details. If this file has problems with attribution, copyright, or is otherwise ineligible for Commons, then remove this tag and DO NOT transfer it; repeat violators may be blocked from editing. Other Instructions
| |||
|
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 21:08, 27 November 2006 | 1,000 × 1,000 (7 KB) | FauxFaux (talk | contribs) | Created myself to replace existing image using Gnuplot: <code># http://en.wikipedia.org/wiki/Wikipedia:How_to_create_graphs_for_Wikipedia_articles#SVG set terminal svg enhanced size 1000 1000 fname "Times" fsize 36 # Sensible ranges set yrange [-10:6 |
You cannot overwrite this file.
File usage
The following page uses this file: