You are on page 1of 4

THE MAGAZINE OF MATHEMATICS

ATHS
Decem ber 2008,
VOL.4 NO.11 |SSUE4T
6a B.Ene. (Dl{trori6 Ensin€rins). [,r.Ens. (Midelccirode Eneimc.ins)

f,lrtfifisu$ierpiriski
INUIIhDRC'IUTJDIh€JD
rf
tuaaals oellc1tuc10u
rr.rni6ar.rSierpifskitiantasr-D.rWacta- " LA i 7 z)
la no{0n.1l dA .l ^U ' U?O Y Lr' or' v 3 O Uei
(o.cl.rssz-rsos;finofiooraof
Sierpiriski
l y ,reroiifr3) A .
acfifllareJua6ererr6n
$rdu$rrrioq::cjd 8
ttrl!*auri {r::ar er;:Jfinuaita.:ar:r " 1 :' :rl rroinvr:]fi
.1
riluouu:nraaralmairiff e.rFi6ulrsierpirski'16lrlu16lct'llerBl'lotl-ld, _ 141{tel
qrnariJrv6ur.r6ru[v]'l ,)e),
q-ln€l!'li.l5'11d]&$lAUrlO'lULfl
lYlU'llOlUAC a q9tl
(1) tlt t"uorJ
non I n nt :1d i6lt Ntlld ur.l
"" -.,.ti"""- -ur.lu,aul1. :,]ite
onuuvluvll'utl a 1dteJl11d
t\l,$a[Yt_t] ,
o11,t[vt'lYl.t
3 fl]1-tt1]o1un t5]qglo
X ) A" ) q-
(fitlYldorflaidlull.16UuSieryjmki) vl[Oa]n
n'ltltl46lti.totutlnl1tJill,tlolan 4 fi ]

alnlacrdlu11,ht u915.Jfl
6'tnr4.r l,r l- l
I t:t ./r1l
A hm lr' 'z'' l: lim:r3
1276ou it lrJi trj i,ri1d r.v6r erRci
rrlny I'I I u .,4n

t,l6?11o41flna511,t6u'toi.tlt 2-4 U.dololl,l tl


i !i y i ,l
r^ o .t'hF 6 ffLfr',lc sr \iqpra.Li tv fir 0 1
i c ,14- ^,
d-€J$1AUtl SiFrpidski tlllllll? I fl& qlu:r& rn{ 1.58496
_tgflarrd
!..rsr rv ru:Jy6 t l&) L.ie.ra.ryu.)!-u l11l[Ln 5

dTl'fl]&ffdl& SierniDski.11,[rtlln hO lLd]tl'L.il ilO

0 luqllld'tl,'lU l lta1lnt tll ! nn l nl: e lir t}.Ll5ale LA:,


J .q!- )
n*!?unro5nurnlir hiliodr lraur.rlFn3 :1] D, i z< !
6n[q11 fl'tofltt]alut1ri!ou[6u!nt.]'t{l:.luo-.i!!tn
oirfi z rfioo;rl o*rfi r; rfiozz;n o'90;i ,no:,,grl v ;;i '.]lltu1-[
w a e ,t.
" i!?ai tolnuoS!11€ll.'[ay u]ou'tfl [50d.11,lollltvu - quq-]
-
n-rdlrJtracle.lFl11.r01l9r.isrucr'l'toT1|av
l r'}{']Erfi'tuniiD")u- :q
qlu )e4 "- ",\,x^
ralluuau nfl11r.[,!ejun]6.16!uwu16l0 uJuea tn llt{
nllol{L"Snlnori rtu"l4Aftt."dnFuo r1,"rl: vu1t o5\jyt 2
2 rnu{rr Es (chaoscalne)
MY MAIHS D**b., ,oos 39
i . q. a v
^
^1r.GlLll4trl"llF LqO:.}.ta ld It$4nUtlO ll'YllOlUA0
hold onl
3 1v -oie:{o"16'I F cs. 6 . r.gi 6, r xi':ti { -fi d&
q . ! :,q -:" -
for n : 115000
"i o l t" " llL L iO v L U l L fl d !.fl Q " ? i 6 l u ,v d ' u u tr ti rl r dice : rand(l)
l"
J clLcld 'SFp,l\ tn.lll,iosl'FlL .1311rl Sl1-{0 d lfill dN if dice<1/3
dot : (x seed)/2+seed
[c" 1 r , L) di f { L. e1 . ta i J . x " r.' x -} 1 l A' d .1 ] " 1 L e)'
,l q. 4 Y elseif dice>2/3
L i l n L" X dn. 9llLn. t t !]U 6 { L O l .1 U ) L l l '-U - d :' 2 1111
d
doi : (z seed)/2+s€edi
vrou.isr;rfi16'
ftIdfio : fi}iqodrafi ' else dot = (y-seed)/2+sed!
!"),
1-Ul1 AO t|[ A1]!!1,11{.innnoNi9v1liAO
t. q ;
^4, \ .
- ao rJd?ld!to
sN6r nr qo tr&Ytlll /\
plot(doi(1) dot(2),'.')i
Acl43na-lgltll1,tiO',1lGlUdlV lll:dU .
sl d tl l t x t { t 4r . r ! a0 n d u A t i o
- ,z , ) )
rfi.r r-au 'l a sJAV lv
lto .c]!:laifl6.inrc!'runrrdi..r1'l[14?u.iao
l:tnarfiuriuaurv6ur f;fld:l
d&eJ6'i1aollrfl
Sierpinski
q" ,q ,i ; ,] iq ,-
tYOql[L Ul 6{ e[vdL&Cfl
- -
]q'11'i1'd1-|1ltvl.]lYldo i61G1d
fir"lirr uo.rodr,rf
:ll.rvhu q,i ^.
lllUO'.O iO n.!,i l L I lllonn ! ll,lwll?l dlJ lX"trl l diUr lMd Ul.lvel
ortJrrflunofirir1 drrvfu1 uo1 nnn
or.,r.;nn,u:ri'lo:rivfi:lu,r rrrilu r.craofio1'
)) ;
d lrti-11!!nd!tlll,l lractal rr i q' Z ;^ q i i4
(u'}r.r tt4qlnal tul,,{uyrdlr'r,)jrandleJt?aElfl
Ylt!111-l'tolafra.:
[l
ar rrrr; rfir arr rlr6ua.r
d_?rltofllvL'lu 3 ?Uirr q ?UflN1l"lclv]ru ml!J1{
Sierpinskil _ - ,:-
' |lF& [v ^r U 'aof - nOqu] t nflllt
. trqn ^tL14t"et
.\A tl-nttt d u 6l ttsl

vdtot: uvcfl rl l l 6l t.l nl dFur i ldr d. l


.i.r6ain,.rdfi'rlo6a.r i t?t' { l utol a'
{riuuvroaarH MATLAB i q' r 2
r Luel tl l tl Lnl 1 do L ?t t' cn[v ru l Fr l oud- rJ. udut r
MATLABAodu}rl
oarfirrora*to':qru{drufiIllruflru
SidpiriskildlaEr) lrqirrqr rl:niu1odltJu16afirmfi r6n
ruur::dnnaifirdfiu
irw*or 1 fir+'ldraal1ar:.n:orfi A 4 a ,
qi 6.1'l l-trlrot :.riio-r1qqnonl'.lounofl .rdr'r'iq'lgl.rt.r'rc.l1{
-X
6rdt Lw.Fotc r[t]5o1rtrlr 'riJlllllot rli |!ev6ltrh0'1,lou@l
.t'1t1.14.r"
3l S'Frpinqki tr.8,ll llv rl! ll OiVd'61'lleJl-lJil_
fr16; Grarnriuuono31o x(0,0),y(50,100)
!ra!
drfion:nrur r{r
z(100,100) D ,A )\Zv
Ol!a'l !!AAl{!nAU l!oiol-l 14ulqllan Sierpifski
": 10,01,
nt1ldul,lUl tn1{
y: [50i100]l
a = [50*cosd(30)io].
z: [100;0]; b': [100*cosd(30)i50*sind(30)]i
[rr9di.,unl- L"n $.,] ueJo'utvl
x{l Lt'le\3,1d i c],.r.1,1d c : [100*cosd(30),50+50*sind(30)];

qr.r16on1qfl{q al]ur.i'r11f) d = I50*cosd(30);50+100*sind(30)li


e : [0i50+50*sind(30)]i
seed: rand(2,1)*100i
f: [0i50*sind(30)]i
l,dr lC 5.n006:: hltal,l{)t r.sldlCiJQUll-lit:
!14odtl1^ seed : rmd(2,1)*100,
tLdy l0.rl !61..rj'rix" 3 n4 60 a aqltL{l1 t0.,/3).b
o / 2l r, I q
,rr "uri"r | . |""a::. oL.u"lrr : | 1rid
" fittronflll
' \3 3 t " 13 for D : 1:5000

40 MY MATHS DEmbef2oo3
dice : rmd(l), r' rtr1tno(i, i)
iJ dicc<t/6
stltttiuxtnu x-y ivll
dot : 2*(a-seed)/3+s.cdi
erseif (dice>1/6) L (dice<2/6)
siruvli.!1io.:
fi€irltgdr
dot : 2+(b seed)/3+seed; 1io.Js(i, j) lir6'!rnri
clseif (dice>2/6) & (dicc<3/6 ) 116r.lulntta3F l,t Ll 1,141,
doi : 2*(c se€d)/3+ seed,
1lu (stcpl'ijnoanll
elseif (dice>3/6) & (dice<a/6 )
dot : 2*(d-seed)/3+seed, r 6 ! udrr o.:ria{qrr..l
elseif (dice>4/6) & (dice<5/6 ) n4 r ?run4lanlitoa
dot : 2*(e s€€d)/3+seed;
s,(i,j) : s, r(i, j)+
elseif (dice>5/6)
dot : 2*(f seed)/3+seed; q li I i \+q /i i ri /mfti rl

x .4y
nfl10.!lg!!ul,\o to.tlcl'.]'tf o11lo.t1o.tto I ait
J-"
plot(dot(1) dot(2),r.), 111,1'tlq.tutn1tLl, tl| n! r€114r!oai nfttl,t'tt 6l't8.l1to.i
o1

1?l l | " u tal l l LLl 1- L C 4' 11U 1)ql 'l t


-dl " tre!vLeY l l l {
qe :
ud' r " r I a: ' L' t [ ' r.,v ' r ) rL ' .1 rt' .: ' s N l v F, I nautm-{t (t-1) o':t6an fitntl1l,tolvnonN9ru
- r : {l
sierpi!sl<i[orrdr nr5[dun!l{6c61t' 00Iorarqor.r6lr[r"^rar1a0$,!a]5ruaq?ilfl
i"
t : 1, 2,3 qlr&aro!
(Cellular Automaionl friSorurnrrtfluarrtvFlr
s p - . ' o.,r16 u fr n"iu"r.| i rc"l u,rr6 o i
l"Ddda
finuru:,rffurqad vfiio'no.rrtadorarilugtJn:i'lofr'16' urqi
i_rlr nr6.r1ionir{aarqaI nulinlcr6Jlqaa tdaa?l.i'ru?r
^a ^ : i sel
6 JtF? C. udir d[ y 6r U 3 ,v L" i 1 ,1 rd U d l fl l l L 2 r,9

9'l'l-1.iFllll 'ooLsll qau' (Autonaton) ul.l'lufl.l vl-lEl ql

1 4 t'3 II c 11 t . la! r 6 rL C )l At t{ r.1 1t6 i l tlr [X l Y l1,{6l dtn


i l*lo t = 31 YIA
dl lr .!Lhl. p r'flt1.i rlt i utM-i 1,16-.11{1-ltl.l
d$l6a l
rlhou ll,lsrlrr
r.9 l Ad at p p |G l" r . G rp L| 1 ," flro c r(J l d o l l 4 l d l Yl u l I]l l
t1a.l lnltul 31 1r1,r
OOIJl'!1lqlOlllO0Ul'1.i.:lUrqOOA!?1n16iA!lO'lO'),)olurnl:
5 ,l^ 46 fi14tOfiffOlO3
1. :' . lc .l-9 dL1 8,d" Utr.{: .1lLtA'eF (l-116 U tdFFF

d r..odu Iq50lu!rL:iiu" .{":.F1, ?11


5 i:i ,
d'l4.eq,rx-t"urs
o tia'tua-tq
rfiu
u!r.r,iraailv!!141i6iirar-ririruviru"loau'lqdnl9r
aastau l o Fttl aF u
t6al16atnrfil6a A New Kind of science1o.t Stephen
na 11!'rrl]us.(i. j)
wolfrm) r{64615 oalq!}]qa1{ lu!]n5fl!6lrr]r-n6{fln
i!6n:r!r: Eu lovfitld'iie.u r rtvFua.r : s , , (i - 1 , j)+
"itflr."
b i Ffp ,ns K , r , 9t e) er Lrv u s. ,(i,j t) (nod 2)
:! !
. r r . ouO : Lo 1l l 32 !Ol l fd l 6 { L O!& F l [Yl ]n! 6l nto { 114L]]" tpr | 3l 5..1udl ri t1l ?11411rO
TA U ULLL
^ ,1 2
r riarfru,r6ofi
cirwirir o uavrirvuono6:.rdufrriarql
dr:..r
r14ff
u:.r Sierpinsk'lriufru +
ll 'fiel onSu

MY MATHS D-".h., roffi 4l