Bestand:Pendulum period.svg
Dit bestand is afkomstig van Wikimedia Commons en kan ook in andere projecten gebruikt worden. De bestandsbeschrijvingspagina wordt hieronder weergegeven.
Beschrijving
| BeschrijvingPendulum 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. |
| Datum | |
| Bron | Own work using: Matlab, Gnuplot, Inkscape. |
| Auteur | Alessio Damato; thanks to John wayman, he let me notice a mistake in the code. |
| SVG ontwikkeling InfoField | |
| Broncode 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
|
Licentie
| Toestemming wordt verleend voor het kopiëren, verspreiden en/of wijzigen van dit document onder de voorwaarden van de GNU-licentie voor vrije documentatie, versie 1.2 of enige latere versie als gepubliceerd door de Free Software Foundation; zonder Invariant Sections, zonder Front-Cover Texts, en zonder Back-Cover Texts. Een kopie van de licentie is opgenomen in de sectie GNU-licentie voor vrije documentatie.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
| Dit bestand is gelicenseerd onder de Creative Commons-licentie Naamsvermelding-Gelijk delen 3.0 Unported | ||
| ||
| Deze licentietag is toegevoegd aan dit bestand in verband met de GFDL licentie-update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
- De gebruiker mag:
- Delen – het werk kopiëren, verspreiden en doorgeven
- Remixen – afgeleide werken maken
- Onder de volgende voorwaarden:
- naamsvermelding – U moet op een gepaste manier aan naamsvermelding doen, een link naar de licentie geven, en aangeven of er wijzigingen in het werk zijn aangebracht. U mag dit op elke redelijke manier doen, maar niet zodanig dat de indruk wordt gewekt dat de licentiegever instemt met uw werk of uw gebruik van zijn werk.
- Gelijk delen – Als u het materiaal remixt, transformeert of erop voortbouwt, moet u uw bijdragen verspreiden onder dezelfde licentie als die van het origineel, of een licentie die daarmee verenigbaar is.
Bijschriften
Items getoond in dit bestand
beeldt af
29 nov 2006
Bestandsgeschiedenis
Klik op een datum/tijd om het bestand te zien zoals het destijds was.
| Datum/tijd | Miniatuur | Afmetingen | Gebruiker | Opmerking | |
|---|---|---|---|---|---|
| huidige versie | 16 apr 2007 20:54 | 730 × 591 (28 kB) | wikimediacommons>Alejo2083 | fixed mistake |
Bestandsgebruik
Dit bestand wordt op de volgende pagina gebruikt: