파일:Drum vibration mode12.gif

testwiki
둘러보기로 이동 검색으로 이동
    원본 파일 (249 × 170 픽셀, 파일 크기: 148 KB, MIME 종류: image/gif, 반복됨, 19 프레임, 1.9초)

    이 파일은 위키미디어 공용에 있으며, 다른 프로젝트에서 사용하고 있을 가능성이 있습니다. 해당 파일에 대한 설명이 아래에 나와 있습니다.

    파일 설명

    설명
    English: Illustration of vibrations of a drum.
    날짜 (UTC)
    출처 자작
    저자 Oleg Alexandrov
    다른 버전
    GIF 발전
    InfoField
     이 다이어그램 MATLAB(으)로 제작되었습니다.

    라이선스

    Public domain 나는 이 작품의 저작권자로서, 이 작품을 퍼블릭 도메인으로 모두에게 공개합니다. 이 공개 선언은 전 세계적으로 유효합니다.
    만약 저작권의 포기가 법률적으로 가능하지 않은 경우,
    나는 이 작품을 법적으로 허용되는 한도 내에서 누구나 자유롭게 어떤 목적으로도 제한없이 사용할 수 있도록 허용합니다.

    Source code (MATLAB)

    function VibratingDrum()
    
    k = 1; % k-th asimuthal number and bessel function
    p = 2; % 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
    
    % To save as a GIF comment out the next the 3 lines
    %   file=sprintf('Frame%d.png', 1000+iter);
    %   fprintf('Saving to %s\n', file)
    %   print('-dpng',  '-opengl',  '-r100', file);
    
      pause(0.01)
    end
    
    end
    
       % converted to gif with the command (run in command shell)
       % convert -antialias -loop 10000 -delay 10  -scale 50% Frame10* Drum_vibration_mode12.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;
    end
       
    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!')
    
    end
    

    설명

    이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다
    Visualization of the (1, 2) standing wave on a disk.

    이 파일에 묘사된 항목

    다음을 묘사함

    152,059 바이트

    170 화소

    249 화소

    d35d09e4411728cf40c99de74a0e1b82919bba02

    파일 역사

    날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.

    날짜/시간섬네일크기사용자설명
    현재2023년 3월 30일 (목) 04:522023년 3월 30일 (목) 04:52 판의 섬네일249 × 170 (148 KB)wikimediacommons>Dndnrmn1Reverted to version as of 07:10, 12 January 2008 (UTC)

    이 파일을 사용하는 문서가 없습니다.