File:Треугольник Паскаля.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (SVG file, nominally 2,731 × 1,972 pixels, file size: 289 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
Date
Source Векторизация изображения «Треугольник Паскаля»
Author KleverI
SVG development
InfoField
 
The SVG code is valid.
 
This vector image was created with MetaPost.
Source code
InfoField

metapost source code

%Треугольник Паскаля
 beginfig(6) ;
   numeric u;
   u = 1.mm;
   numeric dy,dx,x,y,n[][],i,j,sy,ds,nlast;dy:=5u;dx:=5u;x=0;y=0;
   ds=0.04;sy=0.032;nlast=14;
   picture z;
   for i:=0 upto nlast:
     dy:=dy*(1-sy);
     y:=y-dy;
     for j:=0 upto i:
       if (j=0) or (j=i):
 	n[i][j]:=1;
       else:
 	n[i][j]:=n[i-1][j-1]+n[i-1][j];
       fi
       z:=thelabel(decimal(n[i][j]),(0,0));
       x:=dx*(j-i/2);
       label(z scaled (1-ds*i),(x,y));
     endfor
     z:=thelabel.lft(decimal(i)&":",(0,0));
     label(z scaled (1-ds*i),(dx*(-nlast/2-1),y));
   endfor;
   label.rt(btex \((a+b)^n=\) etex,(5u,-5u));
   label.rt(btex \(=\sum\limits_{k=0}^n {n\choose k}a^kb^{n-k}\) etex,(10u,-12u));
   label.lft(btex \(Треугольник Паскаля\) etex rotated 56,(-5u,-20u));
 endfig;

Licensing

[edit]
KleverI at Russian Wikipedia, the copyright holder of this work, hereby publishes it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 1.0 Generic license.
Attribution: KleverI at Russian Wikipedia
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you alter, transform, or build upon this work, you must distribute the resulting work under the same license as the original.

Original upload log

[edit]

Transferred from ru.wikipedia to Commons by KleverI.

The original description page was here. All following user names refer to ru.wikipedia.
  • 2009-08-12 21:19 VasilievVV 2731×1972× (296346 bytes) Обход косяка rsvg
  • 2009-08-12 20:42 KleverI 2731×1972× (97778 bytes) {{Изображение | Описание = [[m:w:ru:Треугольник Паскаля|Треугольник Паскаля]] | Источник = Векторизация изображения «[[Файл:Треугольник Па�

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current06:59, 13 August 2009Thumbnail for version as of 06:59, 13 August 20092,731 × 1,972 (289 KB)KleverI (talk | contribs){{Information |Description={{ru|Треугольник Паскаля}} |Source=Transferred from [http://ru.wikipedia.org ru.wikipedia]; transfer was stated to be made by User:KleverI.<br/> (Origina

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata