File:Drum vibration mode11.gif

מתוך Wikimedia Commons
קפיצה לניווט קפיצה לחיפוש

Drum_vibration_mode11.gif(248 × 130 פיקסלים, גודל הקובץ: 214 ק"ב, סוג MIME‏: image/gif, בלולאה, 19 תמונות, 1.9 שניות)

כיתובים

כיתובים

נא להוסיף משפט שמסביר מה הקובץ מייצג
תיאור Illustration of vibrations of a drum.
תאריך יצירה (UTC)
מקור self-made with MATLAB
יוצר Oleg Alexandrov
 
. MATLAB עם‎‎ נוצרה ה GIF תמונת מפת סיביות
Public domain ברצוני, בעלי זכויות היוצרים על יצירה זו, לשחרר יצירה זו לנחלת הכלל. זה תקף בכל העולם.
יש מדינות שבהן הדבר אינו אפשרי על פי חוק, אם כך:
אני מעניק לכל אחד את הזכות להשתמש בעבודה זו לכל מטרה שהיא, ללא תנאים כלשהם, אלא אם כן תנאים כאלה נדרשים על פי חוק.

Source code (MATLAB)

[עריכה]
function main()

   k = 1; % k-th asimuthal number and bessel function
   p = 1; % p-th bessel root

   q=find_pth_bessel_root(k, p); 

   N=20; % used for plotting

   % Get a grid
   R1=linspace(0.0, 1.0, N); 
   Theta1=linspace(0.0, 2*pi, N);
   [R, Theta]=meshgrid(R1, Theta1);
   X=R.*cos(Theta);
   Y=R.*sin(Theta);

   T=linspace(0.0, 2*pi/q, N); T=T(1:(N-1));

   for iter=1:length(T);
      
      t = T(iter);
      Z=sin(q*t)*besselj(k, q*R).*cos(k*Theta);

      figure(1); clf; 
      surf(X, Y, Z);
      caxis([-1, 1]);
      shading faceted;
      colormap autumn;

      % viewing angle
      view(108, 42);
      
      axis([-1, 1, -1, 1, -1, 1]);
      axis off;

      H=text(0, -0.3, 1.4, sprintf('(%d, %d) mode', k, p), 'fontsize', 25);

      
      file=sprintf('Frame%d.png', 1000+iter);
      disp(sprintf('Saving to %s', file));
      print('-dpng',  '-zbuffer',  '-r100', file);

      pause(0.1);
   end

   % converted to gif with the command 
   % convert -antialias -loop 10000 -delay 10  -scale 50% Frame10* Drum_vibration_mode11.gif

function r = find_pth_bessel_root(k, p)

   % a dummy way of finding the root, just get a small interval where the root is
   
   X=0.5:0.5:(10*p+1); Y = besselj(k, X);
   [a, b] = find_nthroot(X, Y, p);

   X=a:0.01:b; Y = besselj(k, X);
   [a, b] = find_nthroot(X, Y, 1);

   X=a:0.0001:b; Y = besselj(k, X);
   [a, b] = find_nthroot(X, Y, 1);

   r=(a+b)/2;
   
function [a, b] = find_nthroot(X, Y, n)

   l=0;

   m=length(X);
   for i=1:(m-1)
      if ( Y(i) >= 0  & Y(i+1) <= 0 ) | ( Y(i) <= 0  & Y(i+1) >= 0 )
	 l=l+1;
      end

      if l==n
	 a=X(i); b=X(i+1);

	 %disp(sprintf('Error in finding the root %0.9g', b-a));
	 return;
      end
   end

   disp('Root not found!');

היסטוריית הקובץ

ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.

תאריך/שעהתמונה ממוזערתממדיםמשתמשהערה
נוכחית23:25, 6 בדצמבר 2019תמונה ממוזערת לגרסה מ־23:25, 6 בדצמבר 2019‪130 × 248‬ (214 ק"ב)Jahobr (שיחה | תרומות)Reverted to version as of 04:45, 16 January 2008 (UTC)
16:01, 14 באוקטובר 2019תמונה ממוזערת לגרסה מ־16:01, 14 באוקטובר 2019‪248 × 130‬ (243 ק"ב)SteinsplitterBot (שיחה | תרומות)Bot: Image rotated by 90°
04:45, 16 בינואר 2008תמונה ממוזערת לגרסה מ־04:45, 16 בינואר 2008‪130 × 248‬ (214 ק"ב)Oleg Alexandrov (שיחה | תרומות)Strip caption, looks better like this
07:07, 12 בינואר 2008תמונה ממוזערת לגרסה מ־07:07, 12 בינואר 2008‪164 × 250‬ (223 ק"ב)Oleg Alexandrov (שיחה | תרומות){{Information |Description=Illustration of vibrations of a drum. |Source=self-made with MATLAB |Date=06:21, 12 January 2008 (UTC) |Author= Oleg Alexandrov |Permission= |other_versions= }} {{PD-self

אין דפים המשתמשים בקובץ זה.

שימוש גלובלי בקובץ