File:Exp series.gif
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Exp_series.gif (292 × 392 pixels, file size: 51 KB, MIME type: image/gif, looped, 9 frames, 9.0 s)
File information
Structured data
Captions
DescriptionExp series.gif |
English: Illustration of the en:Exponential function العربية: الرسم البياني للدالة الأسية |
Date | Oleg Alexandrov 03:11, 30 August 2007 (UTC) |
Source | self-made with MATLAB. |
Author | Oleg Alexandrov |
This diagram was created with MATLAB.
Public domainPublic domainfalsefalse |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
MATLAB source code
[edit]% 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);
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 03:21, 30 August 2007 | 292 × 392 (51 KB) | Oleg Alexandrov (talk | contribs) | tweak | |
03:20, 30 August 2007 | 291 × 391 (50 KB) | Oleg Alexandrov (talk | contribs) | tweak | ||
03:11, 30 August 2007 | 289 × 386 (49 KB) | Oleg Alexandrov (talk | contribs) | {{Information |Description=Illustration of the en:Exponential function |Source=self-made with MATLAB. |Date=~~~~ |Author= Oleg Alexandrov }} Category:Calculus Category:Files by User:Oleg Alexandrov from en.wikipedia |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on ast.wikipedia.org
- Usage on az.wikipedia.org
- Usage on be.wikipedia.org
- Usage on bg.wikipedia.org
- Usage on bn.wikipedia.org
- Usage on bs.wikipedia.org
- Usage on ca.wikipedia.org
- Usage on ckb.wikipedia.org
- Usage on cs.wikipedia.org
- Usage on cv.wikipedia.org
- Usage on de.wikipedia.org
- Usage on de.wikiversity.org
- Kurs:Mathematik (Osnabrück 2009-2011)/Teil I/Vorlesung 26
- Kurs:Analysis (Osnabrück 2013-2015)/Teil I/Vorlesung 16
- Kurs:Analysis (Osnabrück 2014-2016)/Teil I/Vorlesung 16
- Kurs:Analysis (Osnabrück 2014-2016)/Teil I/Vorlesung 16/kontrolle
- Kurs:Analysis (Osnabrück 2021-2023)/Teil I/Vorlesung 16
- Kurs:Analysis (Osnabrück 2021-2023)/Teil I/Vorlesung 16/kontrolle
- Kurs:Analysis (Osnabrück 2013-2015)/Teil I/Vorlesung 16/kontrolle
- Kurs:Funktionentheorie (Osnabrück 2023-2024)/Vorlesung 7
- Kurs:Funktionentheorie (Osnabrück 2023-2024)/Vorlesung 7/kontrolle
- Taylorreihe
- Usage on el.wikipedia.org
- Usage on en.wikipedia.org
- Usage on en.wikiversity.org
- Usage on eo.wikipedia.org
- Usage on es.wikipedia.org
- Usage on eu.wikipedia.org
- Usage on fa.wikipedia.org
View more global usage of this file.