File:Vectors and orbits of simple harmonic motion on phase plane.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 785 × 570 pixels, file size: 160 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: Vectors and orbits on phase plane of (x, v) of simple harmonic motion:
The diagram shows the case of ω = 0.5.
Date
Source Own work
Author Yapparina

Scilab source

clear

// ベクトルを図示
ome=0.5; // 角振動数
xmax = 8; // 計算横軸範囲
vmax = 4; // 計算軸範囲

x=-xmax:1:xmax;
v=-vmax:1:vmax;
dx=zeros(length(x),length(v));
dv=zeros(length(x),length(v));
for nv=1:length(v)
 for nx=1:length(x)
     dx(nx,nv)=v(nv);
     dv(nx,nv)=-ome^2 * x(nx) ;
 end
end

clf(); 
champ(x, v, dx, dv, 1)

// 軌道を上乗せ
t=0:0.01:13; // 計算時間範囲

A1=2; // 振幅その1
xe=A1*cos(ome*t)
ve=-ome*A1*sin(ome*t)
plot2d(xe,ve)

A1=4; // 振幅その2
xe=A1*cos(ome*t)
ve=-ome*A1*sin(ome*t)
plot2d(xe,ve)

A2=6; // 振幅その3
xe=A2*cos(ome*t)
ve=-ome*A2*sin(ome*t)
plot2d(xe,ve)

A3=8; // 振幅その4
xe=A3*cos(ome*t)
ve=-ome*A3*sin(ome*t)
plot2d(xe,ve)

zoom_rect([-xmax-0.5, -vmax-0.5, xmax+0.5, vmax+0.5]) // 図示範囲

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current01:50, 27 March 2021Thumbnail for version as of 01:50, 27 March 2021785 × 570 (160 KB)Yapparina (talk | contribs)dereased the too much reolution.
23:52, 26 March 2021Thumbnail for version as of 23:52, 26 March 20211,570 × 930 (178 KB)Yapparina (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata