ファイル:Exp series.gif

提供: testwiki
ナビゲーションに移動 検索に移動
    元のファイル (292 × 392 ピクセル、ファイルサイズ: 51キロバイト、MIME タイプ: image/gif、ループします、9 フレーム、9.0秒)

    このファイルはウィキメディア・コモンズのものであり、他のプロジェクトで使用されている可能性があります。 ウィキメディア・コモンズでのファイル解説ページにある説明を以下に示します。

    概要

    解説
    English: Illustration of the en:Exponential function
    العربية: الرسم البياني للدالة الأسية
    日付
    原典 投稿者自身による著作物
    作者 Oleg Alexandrov
    GIF 開発
    InfoField
     この 図式はMATLABで作成されました。

    ライセンス

    Public domain この作品の著作権者である私は、この作品についての権利を放棄しパブリックドメインとします。これは全世界で適用されます。
    一部の国では、これが法的に可能ではない場合があります。その場合は、次のように宣言します。
    私は、あらゆる人に対して、法により必要とされている条件を除き、如何なる条件も課すことなく、あらゆる目的のためにこの著作物を使用する権利を与えます。

    MATLAB source code

    % The exponential function as the sum of its Taylor series
    
    function main()
    
       % KSmrq's colors
       red    = [0.867 0.06 0.14];
       blue   = [0, 129, 205]/256;
       green  = [0, 200,  70]/256;
       yellow = [254, 194,   0]/256;
       white = 0.99*[1, 1, 3];
    
    % Set up the grid and other parameters
       N = 100;
       A = -3; B = 3; 
       X = linspace(A, B, N);
       Y = exp(X);
       D = max(Y); C = -0.2*D;
       
    
    % plot the frames
    
       Sum = 0*X; Term = 0*X+1;
       num_frames = 8;
       for j=0:num_frames
    
          Sum = Sum+Term;
          Term = Term.*X/(j+1);
    
          % Set up the figure
          lw = 3; % linewidth
          fs = 20; % font size
          figure(1); clf; set(gca, 'fontsize', fs);
          hold on; grid on;
          set(gca, 'DataAspectRatio', [1 3 1]); % aspect ratio
          
          plot_axes (A, B, C, D, lw/1.3);
    
          plot(X, Sum, 'color', blue, 'linewidth', lw);
          plot(X, Y,   'color', red, 'linewidth', lw);
    
          axis([A, B, C, D]);
          
          text_str = sprintf('{\\it n}=%d', j)
          H= text (1.2, 18, text_str, 'fontsize', floor(1.2*fs))
    
          frame=sprintf('Frame%d.eps', 1000+j);
          disp(frame)
          saveas(gcf, frame, 'psc2');
             
       end
    
    % Convert to animation with the command
    % convert -antialias -loop 10000  -delay 100 -compress LZW Frame100* Exp_series.gif
       
       
    function plot_axes (A, B, C, D, lw)
       
       black = [0, 0, 0];
    
       plot([A B], [0, 0], 'linewidth', lw, 'color', black);
       plot([0, 0], [C, D], 'linewidth', lw, 'color', black);
    

    キャプション

    このファイルの内容を1行で記述してください

    このファイルに描写されている項目

    題材

    30 8 2007

    52,046 バイト

    392 ピクセル

    292 ピクセル

    fbfeb8d41b022e724a190da9d0ad022a930f2686

    ファイルの履歴

    過去の版のファイルを表示するには、その版の日時をクリックしてください。

    日時サムネイル寸法利用者コメント
    現在の版2007年8月30日 (木) 04:212007年8月30日 (木) 04:21時点における版のサムネイル292 × 392 (51キロバイト)wikimediacommons>Oleg Alexandrovtweak

    このファイルを使用しているページはありません。