Súbor:Pendulum period.svg
Tento zdieľaný súbor je z Wikimedia Commons a je možné ho používať na iných projektoch. Nižšie sú zobrazené informácie z popisnej stránky súboru.
Zhrnutie
| PopisPendulum period.svg |
A plot of the ratio between the actual period of a pendulum and the approximate value obtained for small angles, as a function of the amplitude. According to Pendulum (mathematics), the oscillation period for small angles is given by: while the actual period for any angle is given by: where: so the ratio is given by: and this is the function plotted in the graph. First, with the following Matlab code I created a file called pendulum_period.dat; then, in order to plot it, I used the Gnuplot code. This code creates a file called pendulum_period.svg. I heavily post-processed it with Inkscape. |
| Dátum | |
| Zdroj | Vlastní dílo pomocí: Matlab, Gnuplot, Inkscape. |
| Autor | Alessio Damato; thanks to John wayman, he let me notice a mistake in the code. |
| SVG vývoj InfoField | |
| Zdrojový kód InfoField |
res=2000; % resolution
sup=pi/2; % max angle to be used in the plot (in radians, less than pi)
phi=pi/2; % integration upper limit
% inizialization
T=zeros(1,res);
for i=1:res
theta0=i*sup/res; % theta0 is the pendulum amplitude
k = sin(theta0/2);
F = @(t) 1./sqrt(1-(k*sin(t)).^2);
T(i)=quad(F,0,phi); % numerical integration
end
T = 2./pi.*T; % normalization
deg = 180/pi*sup*(1:res)./res; % conversion to degrees
% saving in the external file
temp = [deg; T];
temp = temp';
save -ascii 'pendulum_period.dat' temp;
# set the output
set terminal svg
set output "pendulum_period.svg"
# axis properties
set yrange [0.99:1.08]
set xzeroaxis linetype -1 linewidth 0.5
set yzeroaxis linetype -1 linewidth 0.5
set xtics axis
set ytics axis
set key off
plot "pendulum_period.dat" using 1:2 with lines linewidth 2
|
Licencovanie
| Bolo udelené povolenie kopírovať, širiť a/alebo meniť tento dokument za podmienok GNU Free Documentation License, verzie 1.2 alebo ktorejkoľvek neskoršej verzie publikovanej Free Software Foundation; bez Nemenných častí, bez Textov na prednej obálke a bez Textov na zadnej obálke. Kópia tejto licencie je zahrnutá v časti nazvanej GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
| Tento súbor podlieha licencii Creative Commons Attribution-Share Alike 3.0 Unported | ||
| ||
| Táto šablóna licencie bola pridaná k tomuto súboru počas aktualizácie licencovania GFDL.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
- Môžete slobodne:
- zdieľať – kopírovať, šíriť a prenášať dielo
- meniť ho – upravovať dielo
- Za nasledovných podmienok:
- uvedenie autorov – Musíte spomenúť autorov (jednotlivo alebo kolektívne), poskytnúť odkaz na licenciu a uviesť, či ste niečo zmenili. Môžete to urobiť ľubovoľným primeraným spôsobom, ale nie spôsobom naznačujúcim, že poskytovateľ licencie podporuje vás alebo vaše použitie diela.
- meniť za rovnakých podmienok – Ak toto dielo zmeníte, prevediete do inej formy alebo použijete ako základ iného diela, musíte výsledok šíriť pod rovnakou alebo kompatibilnou licenciou ako originál.
Štítky
Položky prezentované týmto súborom
motív
29. november 2006
História súboru
Po kliknutí na dátum/čas uvidíte ako súbor vyzeral vtedy.
| Dátum/Čas | Náhľad | Rozmery | Používateľ | Komentár | |
|---|---|---|---|---|---|
| aktuálna | 20:54, 16. apríl 2007 | 730 × 591 (28 KB) | wikimediacommons>Alejo2083 | fixed mistake |
Použitie súboru
Žiadne stránky neobsahujú odkazy na tento súbor.