Nice! However,, now I have to figure out what this does: sq=: 13 :'(,.|."1),|. y'
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Aai Sent: Sunday, March 8, 2015 4:28 AM To: [email protected] Subject: Re: [Jprogramming] J Tech - Grade 1 More compact: sq=: 13 :'(,.|."1)(,|.) y' Linda Alvord schreef op 08-03-15 om 09:02: > This didn't help: > > load 'debug/dissect' > sq=: 13 :'(y,.|:|.|:y),(|.y),.||.|:|.|:y' > sq > (] ,. [: |: [: |. |:) , |. ,. [: | [: |. [: |: [: |. |: > > ((] ,. [: |: [: |. |:) , |. ,. [: | [: |. [: |: [: |. |:)i.3 6 > 0 1 2 3 4 5 5 4 3 2 1 0 > 6 7 8 9 10 11 11 10 9 8 7 6 > 12 13 14 15 16 17 17 16 15 14 13 12 > 12 13 14 15 16 17 17 16 15 14 13 12 > 6 7 8 9 10 11 11 10 9 8 7 6 > 0 1 2 3 4 5 5 4 3 2 1 0 > > dissect'((] ,. [: |: [: |. |:) , |. ,. [: | [: |. [: |: [: |. |:)i.3 6' > dissect'((] ,. [: |: [: |. |:) , |. ,. [: | [: |. [: |: [: |. |:)i.3 6' > value error > |value error: wd > | wd DISSECT > |value error: wd > | wd'timer 0' > > > Linda > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Linda > Alvord > Sent: Sunday, March 8, 2015 3:36 AM > To: [email protected] > Subject: Re: [Jprogramming] J Tech - Grade 1 > > I'm working on the Grade 3 Handbook and s is a very messy verb. Can > anyone simplify it so it works with both images A and B. > > > > load 'viewmat' > > RGB=:0 255{~#:i.8 > > GRB=:1 0 2{"1 RGB > > ]A=:*/~>:i.11 > > ]B=:%/~>:i.11x > > sq=: 13 :'(y,.|:|.|:y),(|.y),.||.|:|.|:y' > > GRB viewmat sq A > > GRB viewmat sq B > > > > Maybe I'm not awake enough. Linda > > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Linda > Alvord > Sent: Thursday, September 18, 2014 3:46 AM > To: [email protected] > Subject: [Jprogramming] J Tech - Grade 1 > > > > As I posted earlier, I in Sepstember I an collecting as many ideas as > possible for actual specific examples, models, code or other ways to > use J with the purpose of further the children's understanding of the > mathematics that they will be learning during the year. > > > > > > Here is my first idea. In a J environment JHS the students could > explore the following ideas and extemd them in creative ways in an ways they could. > > The focus THis on counting, shapes, patterns, colors and addition tables. > > > > > > Example: This code works in jqt. It works expecially well in the > beta J803. The last remaining problems are gone. If students had J > they could make many different images and go in many directions with > only this on start. Experimentation is one of the keys to encouraging > learning. The code also can be used in jqt and the images appear separately. > > > > > > load 'viewmat' > > > > ]GRB=:1 0 2{"1 (#:i.8){0 255 > > > > > > GRB viewmat i.16 > > > > > > ]C=:i.12 > > > > GRB viewmat C > > > > > > ]D=:3 4$i.12 > > > > GRB viewmat D > > > > > > ]M=:5 3$i.15 > > > > GRB viewmat M > > > > > > GRB viewmat 7 3$i.21 > > > > > > > > ]B=:4 4$i.16 > > > > GRB viewmat B > > > > > > GRB viewmat |: B > > > > > > GRB viewmat |.|:B > > > > > > ]T=:+/~i.16 > > > > > > GRB viewmat T;'T' > > > > > > > > Grade 1 Overview > > > > > > Operations and Algebraic Thinking > > > > > > * Represent and solve problems involving addition and subtraction. > > > > * Understand and apply properties of operations and the relationship > > > > between addition and subtraction. > > > > * Add and subtract within 20. > > > > * Work with addition and subtraction equations. > > > > > > Number and Operations in Base Ten > > > > > > * Extend the counting sequence. > > > > * Understand place value. > > > > * Use place value understanding and properties of operations to add > > > > and subtract. > > > > > > Measurement and Data > > > > > > * Measure lengths indirectly and by iterating length units. > > > > * Tell and write time. > > > > * Represent and interpret data. > > > > > > Geometry > > > > > > * Reason with shapes and their attributes. > > > > > > Mathematical Practices > > > > > > 1. Make sense of problems and persevere in solving them. > > > > > > 2. Reason abstractly and quantitatively. > > > > > > 3. Construct viable arguments and critique the reasoning of others. > > > > > > 4. Model with mathematics. > > > > > > 5. Use appropriate tools strategically. > > > > > > 6. Attend to precision. > > > > > > 7. Look for and make use of structure. > > > > > > 8. Look for and express regularity in repeated reasoning. > > > > > > > > Please think about the first grades you know or remember and > contribute and ideas you think might be useful. > > > > > > ---------------------------------------------------------------------- > > For information about J forums see > <http://www.jsoftware.com/forums.htm> > http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- Met vriendelijke groet, @@i = Arie Groeneveld ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
