קובץ:Bernoulli inequality.svg

מתוך testwiki
קפיצה לניווט קפיצה לחיפוש
לקובץ המקורי (קובץ SVG, הגודל המקורי: 254 × 488 פיקסלים, גודל הקובץ: 18 ק"ב)

זהו קובץ מתוך ויקישיתוף וניתן להשתמש בו גם במיזמים אחרים. תיאורו בדף תיאור הקובץ שלו מוצג למטה.

תיאור Illustration of Bernoulli's inequality.
תאריך יצירה (UTC)
מקור self-made with MATLAB
יוצר Oleg Alexandrov
SVGהתפתחות 
InfoField
 .קוד המקור של קובץ SVG זה הוא תקין
 MATLAB עם‎‎ נוצרה ה גרפיקה וקטורית
קוד מקור
InfoField

MATLAB code

% Illustration of the bernoulli inequality

function main()

   r = 3; % the power in the Bernoulli inequality
   
   % 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, 1];

% Set up the grid and other parameters
   N = 100;
   A = -2; B = 2; 
   X = linspace(A, B, N);
   Y1 = 1+r*X;
   Y2 = (1+X).^r;

   C=-3; D = 5;
   
   % Set up the figure
   lw = 3; % linewidth
   fs = 12; % font size
   figure(1); clf;

   set(gca, 'fontsize', fs);
   set(gca, 'linewidth', 0.4*lw)
   hold on;% grid on;
   
   plot_axes (A, B, C, D, lw/1.5);
   
   plot(X, Y1, 'color', blue, 'linewidth', lw);
   plot(X, Y2,   'color', red, 'linewidth', lw);
   
   axis equal; axis([A, B, C, D]); 

   set(gca, 'XTick', [-2, -1, 0, 1, 2]) % text labels on the x axis
   grid on;
   
   saveas(gcf, 'Bernoulli_inequality.eps', 'psc2'); % save as eps
   %plot2svg('Bernoulli_inequality.svg'); % save as svg
   
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);
Public domain ברצוני, בעלי זכויות היוצרים על יצירה זו, לשחרר יצירה זו לנחלת הכלל. זה תקף בכל העולם.
יש מדינות שבהן הדבר אינו אפשרי על פי חוק, אם כך:
אני מעניק לכל אחד את הזכות להשתמש בעבודה זו לכל מטרה שהיא, ללא תנאים כלשהם, אלא אם כן תנאים כאלה נדרשים על פי חוק.

כיתובים

נא להוסיף משפט שמסביר מה הקובץ מייצג

פריטים שמוצגים בקובץ הזה

מוצג

image/svg+xml

checksum אנגלית

0e48f3fee1e011723c4cb3c8348779179e09d133

18,097 בית

488 פיקסל

254 פיקסל

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

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

תאריך/שעהתמונה ממוזערתממדיםמשתמשהערה
נוכחית07:11, 9 בינואר 2008תמונה ממוזערת לגרסה מ־07:11, 9 בינואר 2008‪488 × 254‬ (18 ק"ב)wikimediacommons>Oleg Alexandrov{{Information |Description=Illustration of Bernoulli's inequality. |Source=self-made with MATLAB |Date=~~~~~ |Author= Oleg Alexandrov |Permission= |other_versions= }} {{PD-self}} ==Source code ([[:

הדף הבא משתמש בקובץ הזה: