I like 1+  and should have used it since Grade 1!

To understand the lesson you have to look especially at the first two
images.  With no numbers and two different crayons see how high you can
count.

Now use 3 different crayons and "write" as namy "numbers" as you can using
only your three crayons.

Thoughts about & will follow after I think about it again.

Linda

-----Original Message-----
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Raul Miller
Sent: Tuesday, December 8, 2015 10:10 AM
To: Programming forum
Subject: Re: [Jprogramming] Did this message (sent 1:44 am) go to junk mail?

Personally, I usually prefer 1+x instead of >: x, unless the >: serves some
relevant purpose (like if I am defining addition in terms of more basic
operations, or if I'm using an & and don't want parenthesis or that sort of
thing).

I'm not sure, though, if that fits your lesson concept?

Thanks,

--
Raul


On Tue, Dec 8, 2015 at 9:03 AM, Linda A Alvord <lindaalv...@verizon.net>
wrote:
> A big idea in Grade 4 is helping students understand fully how base 10
> works.  Here is a dialog which might help students to understand number
> systems in general.
>
> So, if you have 64 different colors, how high can you count with unique
> numbers?
>
> Here's the dialog?
>
>
>
> load 'viewmat'
>
> base=: 13 :'(3#y)#:i.y^3'
>
> base 2
>
> sh=: 13 :'(2 1*$y)$,y,"1($y)$>:>./y'
>
> sh base 2
>
> sw=: 13 :'(,|:i.2 3){"1 y,"1($y)$,>:>./y'
>
> sw base 2
>
> s=: 13 :'sw sh y'
>
> s base 2
>
> elz=: 13 :'(>:>./,y)*0=+/\"1 y'
>
> elz base 2
>
> co=: 13 :'s(elz base y)+base y'
>
> [CO2=:co 2
>
> [PAL2=:5 3$255 0 0 0 0 255,9#255
>
> PAL2 viewmat CO2
>
> [PAL3=:6 3$0 255 0 255 0 0 0 0 255,9#255
>
> PAL3 viewmat co 3
>
> rpal=: 13 :'(<:?>:(y,3)$255),3 3$255'
>
> (rpal 3) viewmat co 3
>
> (rpal 4) viewmat co 4
>
> (rpal 5) viewmat co 5
>
>
>
> base NB. number base
>
> sh    NB.  stretch height
>
> sw    NB.  stretch width
>
> s     NB.  stretch both
>
> elz   NB.  eliminate leading zeros
>
> co    NB.  count to
>
> rpal  NB.  random palletes
>
> Linda
>
> ----------------------------------------------------------------------
> For information about J forums see 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

Reply via email to