Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Education » math-teach

Topic: When math makes sense - w/ cooking, consruction
Replies: 84   Last Post: Jun 14, 2013 12:33 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
kirby urner

Posts: 1,528
Registered: 11/29/05
Re: When math makes sense - w/ cooking, consruction
Posted: May 18, 2013 1:15 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> Sometimes I call what I teach "Gnu Math", a pun on
> "New Math" and an
> accurate reflection of what we owe the GNU project,
> in liberating us from
> the high costs of intellectual property owners who
> planned to squeeze it
> out of us until the cows came home. Now we have
> power tools galore, and
> have started work on tractors:
>
> http://www.ted.com/talks/marcin_jakubowski.html
>
> Kirby


Here is a direct quote from something I'm writing back to
a student, in this "correspondence school" I teach at
(DETC is the certifying body, once the State license is
obtained -- we're a startup and still navigating these
waters).

I'm not revealing anything that will give an "artificial
boost" to other students i.e. if they find this first
regarding Python4, Project 1, so much the better.

I claim real insights into abstract algebra are possible
in this project, a manifestation of my confidence about
this "Gnu bridge" twixt STEM math and STEM engineering.

We're not just using graphing calculators anymore in
Kansas, provided Dorothy is lucky enough to get "girl
scout math" in her corner (I use "gsm" as an abbreviation
for the kind of community service DIY based computational
thinking the scouting community is more known for, what
with geocaching and the like).

Kirby
===


You have seen how basic calculator operations + * - / are mapped to
special name methods __add__ __mul__ __sub__ __truediv__. The
same is true for ** (powering): it maps to __pow__.


The first two tests, of reverser * reverser and squarer * squarer are
easily modified to become tests of reverser ** 2 and squarer ** 2
respectively.


def test_inverse(self):
reverser = Composable(reverse)
nulltran = reverser ** 2
for s in "", "a", "0123456789", "abcdefghijklmnopqrstuvwxyz":
self.assertEquals(nulltran(s), s)

def test_square(self):
squarer = Composable(square)
po4 = squarer ** 2
for v, r in ((1, 1), (2, 16), (3, 81)):
self.assertEqual(po4(v), r)

As to the guts of your method, I am optimistic about it passing
these tests. Some additional assertRaises might be nice. Note it's
a ValueError, not a TypeError, that a negative integer exponent
should raise (in the world of multiplication == composition, f**-1
is taken to be an "inverse function" but w're not trying to dive that
deeply into abstract algebra here).


Date Subject Author
5/4/13
Read When math makes sense - w/ cooking, consruction
Jerry P. Becker
5/4/13
Read Re: When math makes sense - w/ cooking, consruction
Wayne Bishop
5/7/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/8/13
Read Re: When math makes sense - w/ cooking, consruction
Greg Goodknight
5/9/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/9/13
Read Re: When math makes sense - w/ cooking, consruction
Greg Goodknight
5/9/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/9/13
Read Re: When math makes sense - w/ cooking, consruction
Greg Goodknight
5/9/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/9/13
Read Re: When math makes sense - w/ cooking, consruction
Greg Goodknight
5/10/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/10/13
Read Re: When math makes sense - w/ cooking, consruction
Greg Goodknight
5/11/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/9/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/12/13
Read Re: When math makes sense - w/ cooking, consruction
Wayne Bishop
5/18/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/18/13
Read Re: When math makes sense - w/ cooking, consruction
Anna Roys
5/19/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/20/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
5/22/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/24/13
Read Re: When math makes sense - w/ cooking, consruction
Richard Strausz
5/24/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/24/13
Read Re: When math makes sense - w/ cooking, consruction
Wayne Bishop
5/25/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
5/25/13
Read Re: When math makes sense - w/ cooking, consruction
Anna Roys
5/27/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
5/27/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/25/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/27/13
Read Re: When math makes sense - w/ cooking, consruction
Richard Strausz
5/27/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
5/27/13
Read Re: When math makes sense - w/ cooking, consruction
Louis Talman
5/27/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
5/27/13
Read Re: When math makes sense - w/ cooking, consruction
Wayne Bishop
5/28/13
Read Re: When math makes sense - w/ cooking, consruction
Louis Talman
5/28/13
Read Re: When math makes sense - w/ cooking, consruction
Louis Talman
5/29/13
Read Re: When math makes sense - w/ cooking, consruction
Wayne Bishop
5/30/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
5/31/13
Read Re: When math makes sense - w/ cooking, consruction
Wayne Bishop
5/30/13
Read Re: When math makes sense - w/ cooking, consruction
Louis Talman
5/29/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
5/30/13
Read Re: When math makes sense - w/ cooking, consruction
Louis Talman
5/30/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
5/30/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/31/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
5/31/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/31/13
Read Re: When math makes sense - w/ cooking, consruction
Anna Roys
6/2/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/3/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
6/3/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/3/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
6/3/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/3/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
6/3/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/3/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
6/4/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/4/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
6/4/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/3/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
5/27/13
Read Re: When math makes sense - w/ cooking, consruction
Richard Strausz
5/27/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
5/27/13
Read Re: When math makes sense - w/ cooking, consruction
Richard Strausz
5/28/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/29/13
Read Re: When math makes sense - w/ cooking, consruction
Wayne Bishop
5/29/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
5/29/13
Read Re: When math makes sense - w/ cooking, consruction
Richard Strausz
5/29/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
5/30/13
Read Re: When math makes sense - w/ cooking, consruction
Wayne Bishop
6/8/13
Read Re: When math makes sense - w/ cooking, consruction
GS Chandy
6/9/13
Read Re: When math makes sense - w/ cooking, consruction
GS Chandy
6/9/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/10/13
Read Re: When math makes sense - w/ cooking, consruction
GS Chandy
6/10/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/10/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
6/10/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/10/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
6/10/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/10/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
6/10/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/11/13
Read Re: When math makes sense - w/ cooking, consruction
kirby urner
6/10/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/10/13
Read Re: When math makes sense - w/ cooking, consruction
Louis Talman
6/12/13
Read Re: When math makes sense - w/ cooking, consruction
GS Chandy
6/12/13
Read Re: When math makes sense - w/ cooking, consruction
Robert Hansen
6/13/13
Read Re: When math makes sense - w/ cooking, consruction
GS Chandy
6/14/13
Read Re: When math makes sense - w/ cooking, consruction
GS Chandy

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.