bsmall2 Learning Racket

Plot

A Theodorus spiral with plot instead of turtles. The coding went quickly because it was easy to translate into Racket the math from Python code.

Spiral Plot with Vectors

Read more...

A student having trouble in English class came for some help. We ended up talking about computers, programming, and free software. The next time, he came with his computer. It seemed to be the computer recommended and sold by the university co-op. The computer booted into the MS Windows OS, so the easiest way to get started seemed to be with DrRacket. There wasn't much time to play with Inkscape, Gimp, or Emacs. The student seemed to enjoy DrRacket. He wanted to play with big numbers, so I had to figure out the term for exponent and how to do exponents ( (expt 6 36) )with the Racket Language.

DrRacket catches errors before RUNning

The episode has been in my mind for the last nine months or so. After learning Scheme's iota and Racket's plot over the past month or so I'm wondering if this sort of sequence might be fun for learners with a desire to play with numbers.

Possible Graded Sequence for Plotting Functions

Read more...