ZXTape! 2Pascal's Triangle - Side B Chalksoft Ltd1983English EducationalNoneOriginal%TZXed by Andrew Barker For Karl BrownQUESTIONS *)'Z,) /PASCAL'S TRIANGLE  1983 Chalksoft 0:0: M16,16,568,568,124|,124|,254,254 O128,192,224,240,248,252,254,0 !A0,1,2,0,0,0,3,0 "M0,131,132,132,133,134,227,0 #J0,192,96`,160,32 ,32 ,192,0 $M0,135,132,135,128,132,227,0 %I0,224,0,192,32 ,32 ,192,0 &A0,3,4,0,3,4,7,0 'I0,195,36$,36$,197,6,227,0 )#n=07:t:""+n,t:n *#n=07:u:""+n,u:n +i=144150 ,$n=07:a:(i)+n,a:n -i 2 160 7p=p-7 ,?num:p;" Question ";num;" ":25:620l:75K: 6sounda 7B320@:x=111 :A,B:A,B:5:x:100d: @.3,-7,.075},0,.3,-8,.075},0,.3,-10 ,.075},0,.3,-12 ,.075},0,.525fff,-7,.15~,0,.3,5 Jsoundb K9X=0302:.15~,-X:X:30: Tsoundc U1C=(*30)-30:.2~L,C:15: ^space _C502:5;0;21,7;" press SPACE key " hA$=:A$" "360h r340T:25: |Q1 }num=1:290":6:''" Remember how ":5;0;6,6;" PASCAL'S TRIANGLE ":8,23;"works ?":340T:502 >'';:x=031:2;"";:5:x:502 6:'''"Write down the next ";:7;"TWO lines";:75K:" in";''"the ";:7;"correct";:" place in your book.":330J:75K I'';:x=031:2;"";:5:x:502:350^ E:25:x=031:2;"";:5:x:502 ,6:'''" The next line is ":75K 7:''" 1 ";:20:" 6 ";:20:" 15 ";:20:"20 ";:20:"15 ";:20:"6 ";:20:"1" U3106:100d:'';:x=031:2;"";:5:x:125} n6:7;''" C O R R E C T ? -":75K:'" If not, find out WHY.":330J:502 =';:x=031:2;"";:5:x:502 E'''" Now check the second line.":340T:100d:350^ E:25:x=031:2;"";:5:x:502 {''''" Your teacher will mark":75K:''" your answers when you":75K:''" have finished.":100d K7;3;14,10 ;" BE NEAT ! !":3106:100d K502:''':x=031:2;"";:5:x:350^: Q2 num=2:290" ]6:'''" Next get a ";:1;7;"BLUE";:" crayon."''':340T:74J 9x=031:2;"";:5:x:502 ''''" Draw small ";:1;7;"blue";:" circles round":100d:''" the ";:1;7;"WHOLE NUMBERS";:" that make":100d:''" lines on the PASCAL triangle."'''':3106:100d :x=031:2;"";:5:x:125} E:25:x=031:2;"";:5:x:502 ''''" HINT - there are two sloping":100d:''" lines of ";:1;7;"whole numbers";:" on":100d:''" your triangle starting":100d U7:''" 1";:25:" 2";:25:" 3";:25:" . . ."'''' R330J:100d:X=031:2;"";:5:X:350^: Q3  num=3:290"  _6:'''" Now find a ";:7;2;"RED";:" crayon."''':340T:75K 9x=031:2;"";:5:x:502 '''" Again on your ";:5;0;"PASCAL TRIANGLE";:",":100d:'" put small ";:7;2;"red";:" triangles round ":100d:'" each of the ";:7;2;"TRIANGULAR NUMBERS"''':3106:125} :x=031:2;"";:5:x:125} &''" HINT - they start";:100d:7:" 1";:25:" 3";:25:" 6";:25:" . .":330J:100d:350^ +E:25:x=031:2;"";:5:x:502 06:7;2;''''" TRIANGULAR NUMBERS";:" are called":100d:''" that because they can be drawn ":100d:''" as TRIANGLES."'''':330J:100d 5:x=031:2;"";:5:x:125} :E:25:x=031:2;"";:5:x:502 ?'''" Let's see how to draw":100d:''" a ";:7;2;"SIX";:" as a triangle !"''':620l:75 K A9x=031:2;"";:5:x:502 D5:11 ,15;"":340T:10 :15;"";:340T:10 :"";:340T:10 :15;"";:340T:10 :"";:340T:10 :"":340T:502 N6:''" See the triangle ?":3106:100d:''" 6 is a ";:7;2;"triangular number":3106:100d:350^: lslide m:x=40(0-2:.025{L,x:x:75K: vQ4 wnum=4:290" {6:'''" Look at your book and find":100d:'" the ";:7;2;"triangular numbers";:"."''':330J:502 9x=031:2;"";:5:x:502 '''" Draw each number":340T:75K:'" as a ";:7;2;"triangle":340T:75K:'" pattern.":340T:75K G16,16;"EXAMPLE":330J:75K:5:15,25;"":340T:10 :16,25;"";:340T:10 :"":340T:10 :17,25;:x=13:"";:340T:10 :x:18,25;:x=14:"";:340T:10 :x:502 C7;2;18,18;"10":3106:350^: Q5 num=5:290" 7:2,16;"2":340T:502:4,14;"2";:340T:502:" 2";:340T:502:6,12 ;"2";:340T:502:" 4";:340T:502:" 2":340T:75K 620l:6:''" This is the start of a pattern":100d:'" like ";:5;0;"PASCAL'S TRIANGLE"''':330J:502 9x=031:2;"";:5:x:502 Ɛ5;'''" COPY";:" and then put in ":100d:'" the next ";:4;"THREE";:" rows.":3106:100d:350^: ,tu+a<<b cﺠ