On Wed, Oct 24, 2012 at 10:49 PM, Peter Farrell
<
peterfa...@gmail.com> wrote:
> Hi, Kirby,
>
> Thank you for the good wishes and the wealth of info on teaching Python! I'd
> been using it so much for crunching numbers my homeschooled clients asked
> for a workshop dedicated to Python. (I've often thought Riemann sums should
> be a computer programming assignment, not a pencil-and-paper form of
> torture.) Feel free to share any more ideas that pop into your head.
>
I agree with you that Taylor series, continued fractions, anything
with a "next in sequence" aspect, should be done with mechanical aids
after about the 3rd or 4th term (or 10th or whatever). Punching the
same calculator buttons over and over is also too tedious. Some of
those are programmable, but the screens are so tiny and the languages
so special case...
Sometimes a floating point answer is enough, but if you're wanting to
show how Fibonacci numbers (F(n+1)/F) approach Phi (1.618..), then
maybe you want a rational number type with extended precision Decimal
output. There's also gmpy (3rd party library, maintained by this guy
Case who comes to Portland user groups) -- arbitrary precision
decimals, with arbitrary precision complex numbers thrown in for good
measure (gmpy2).
During Pi Day (3/14) I hosted an informal contest asking for Python
programs that reliably generated Pi to a thousand places. I made it
easy by giving them the Ramanujan generator I wanted them to use. One
of the winners was from the University of Havana.
http://worldgame.blogspot.com/2011/03/reviewing-pi-day.html
(follow-up link gives more details, links to source code)
> I'm flattered you think I'm jetsetting around the world giving workshops.
> Actually, I live 10 miles from SFO and the office I use is even closer. But
> if enough students near the Honolulu airport are interested in a workshop...
>
> Peter Farrell
>
Having them come to you is an even higher level of practice.
Flying around a lot gets to be hard on the body, especially where jet
lag and always sitting is concerned.
I'm a big guy and if I try to use my laptop in the standard seat, it's
up against my belly and my elbows are in my neighbors face. 800 lbs
gorillas should fly first class I guess. That's how we corporately
sponsor the airlines, which would go under without those cushy seats.
I don't though (fly first class) -- I keep the laptop in my bag,
usually under the seat in front of me (overhead bins taken by all
those humongous "carry ons" from hell).
Kirby