[Edu-sig] Edu-sig Digest, Vol 167, Issue 1

Peter Farrell funcalculus at gmail.com
Mon Jun 12 01:01:47 EDT 2017


Jorge and Kirby,

Great ideas! You're preaching to the choir here. Especially the line "Why
don't we toss out the Graphing Calculators and just learn a little bit of
coding?" I spoke with the math department head at a rich private High
School nearby who finished proving her school didn't need my techy, codey
nonsense by saying, "We already use technology in our math classes: the
TI-84."

And once you have some practice creating functions to calculate derivatives
and integrals, you can get fancy and personalize the notation like Kirby
showed. The programmer can do anything, with a toolbox like Python!

Peter

On Sat, Jun 10, 2017 at 3:17 PM, <edu-sig-request at python.org> wrote:

> Send Edu-sig mailing list submissions to
>         edu-sig at python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.python.org/mailman/listinfo/edu-sig
> or, via email, send a message with subject or body 'help' to
>         edu-sig-request at python.org
>
> You can reach the person managing the list at
>         edu-sig-owner at python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Edu-sig digest..."
>
>
> Today's Topics:
>
>    1. How does Python help with Calculus? (kirby urner)
>    2. Re: How does Python help with Calculus? (A Jorge Garcia)
>    3. Re: How does Python help with Calculus? (A. Jorge Garcia)
>    4. Re: How does Python help with Calculus? (A. Jorge Garcia)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 10 Jun 2017 12:19:51 -0700
> From: kirby urner <kirby.urner at gmail.com>
> To: "edu-sig at python.org" <edu-sig at python.org>
> Subject: [Edu-sig] How does Python help with Calculus?
> Message-ID:
>         <CAPJgG3QwdBNs8vjukn02oSxqfg4DgrmgooCYm8rYHqGy_o7EAA at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> The obvious answer is via Sage and SymPy, which will do differentiation and
> integration symbolically to some degree.
>
> http://www.scipy-lectures.org/advanced/sympy.html#differentiation
>
> However even plain old core Python helps in that students get a sense of
> functions as top-level citizens. I'm not saying Python is alone in
> providing this.
>
> If the C language could be written:
>
> function func(function f1, function f2):{ }
>
> with type function both eaten and returned, then we could use C for this
> kind of thing also.
>
> http://mathforum.org/kb/message.jspa?messageID=10168568  (more on this
> general topic)
>
> The repl below (you may skip modal window) shows my latest slimmed down
> version of Compose, something I introduce to the O'Reilly course as well.
>
> https://repl.it/HxMo/2
>
> Function type objects don't ordinarily multiply but what if we want to
> write h = f * g instead of h(x) = f(g(x)).
>
> For one thing, why mention x at this point (the argument object) as we're
> simply defining a function, not calling it with an input right?
>
> The Compose class is just the ticket, swallowing and wrapping a function
> with a __mul__ API. Now * is your compose operator.  Or use __matmul__ for
> @ symbol.
>
> Note then, the use of Compose as a class decorator to the same end.
>
> Feel free to recycle this animal in your own lesson plans.  MIT license or
> whatever.
>
> Kirby
>
> PS:  one of the Pycon keynotes was about the affordability of nuke energy,
> with the claim / calculation that it's less risky to workers than coal.  I
> didn't have time to go up to the podium after and listen in on the
> conversation. We should have started a BOF.  Simulating / modeling risk is
> something I'm into through CERM Academy.  We could start a thread on
> Facebook.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.python.org/pipermail/edu-sig/attachments/
> 20170610/0585f449/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 10 Jun 2017 17:09:25 -0400
> From: A Jorge Garcia <calcpage at aol.com>
> To: kirby urner <kirby.urner at gmail.com>
> Cc: A Jorge Garcia via Edu-sig <edu-sig at python.org>
> Subject: Re: [Edu-sig] How does Python help with Calculus?
> Message-ID: <37ff932b-9ee5-46ed-a8cf-b405a61cd792 at aol.com>
> Content-Type: text/plain; charset="utf-8"
>
> My students and I solved last year's AP Calculus exam with python last
> year for fun! Have a look, http://shadowfaxrant.blogspot.
> com/2016/06/how-to-part-ii-pythonic-calculus.html
> HTH,
> AJG
>
> ?Sent from BlueMail ?
>
> On Jun 10, 2017, 3:20 PM, at 3:20 PM, kirby urner <kirby.urner at gmail.com>
> wrote:
> >The obvious answer is via Sage and SymPy, which will do differentiation
> >and
> >integration symbolically to some degree.
> >
> >http://www.scipy-lectures.org/advanced/sympy.html#differentiation
> >
> >However even plain old core Python helps in that students get a sense
> >of
> >functions as top-level citizens. I'm not saying Python is alone in
> >providing this.
> >
> >If the C language could be written:
> >
> >function func(function f1, function f2):{ }
> >
> >with type function both eaten and returned, then we could use C for
> >this
> >kind of thing also.
> >
> >http://mathforum.org/kb/message.jspa?messageID=10168568  (more on this
> >general topic)
> >
> >The repl below (you may skip modal window) shows my latest slimmed down
> >version of Compose, something I introduce to the O'Reilly course as
> >well.
> >
> >https://repl.it/HxMo/2
> >
> >Function type objects don't ordinarily multiply but what if we want to
> >write h = f * g instead of h(x) = f(g(x)).
> >
> >For one thing, why mention x at this point (the argument object) as
> >we're
> >simply defining a function, not calling it with an input right?
> >
> >The Compose class is just the ticket, swallowing and wrapping a
> >function
> >with a __mul__ API. Now * is your compose operator.  Or use __matmul__
> >for
> >@ symbol.
> >
> >Note then, the use of Compose as a class decorator to the same end.
> >
> >Feel free to recycle this animal in your own lesson plans.  MIT license
> >or
> >whatever.
> >
> >Kirby
> >
> >PS:  one of the Pycon keynotes was about the affordability of nuke
> >energy,
> >with the claim / calculation that it's less risky to workers than coal.
> > I
> >didn't have time to go up to the podium after and listen in on the
> >conversation. We should have started a BOF.  Simulating / modeling risk
> >is
> >something I'm into through CERM Academy.  We could start a thread on
> >Facebook.
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Edu-sig mailing list
> >Edu-sig at python.org
> >https://mail.python.org/mailman/listinfo/edu-sig
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.python.org/pipermail/edu-sig/attachments/
> 20170610/94dece1c/attachment-0001.html>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 10 Jun 2017 18:02:14 -0400
> From: "A. Jorge Garcia" <calcpage at aol.com>
> To: kirby.urner at gmail.com
> Cc: edu-sig at python.org
> Subject: Re: [Edu-sig] How does Python help with Calculus?
> Message-ID: <15c94076f34-2b9c-4617 at webprd-a28.mail.aol.com>
> Content-Type: text/plain; charset="utf-8"
>
> FYI, here's my YouTube playlist including final projects for AP Calculus
> and AP Computer Science from 2012-2016. Screencasts for 2017 will be
> forthcoming soon!?
> https://www.youtube.com/playlist?list=PLL956Pn2cKSjxPBTcG2XYzNOB5tQ1txgx
>
> This year we'll be using SMC (Sage Math Cloud) https://cloud.sagemath.com,
> recently renamed https://cocalc.com. CoCalc includes everything you need
> to code in the cloud. I think it's on GCP (Google Compute Platform) as
> opposed to https://repl.it, https://cs50.io and https://c9.io which are
> on AWS (Amazon Web Services). On Cocalc you can make 3 different types of
> documents: SAGE WorkSheet, Jupyter NoteBook and LaTEX Documents.
>
> Also, here's my 2016 playlist for the AP Calculus exam comparing the use
> of TI84C, TI92, TI nSpire CX CAS, SageCell and python!
> https://www.youtube.com/playlist?list=PLL956Pn2cKSje0HeHkR38C8BVWbTeOFUy
>
> HTH,?
> A. Jorge Garcia?
> Applied Math, Physics & CS?
> http://shadowfaxrant.blogspot.com?
> http://www.youtube.com/calcpage2009?
> 2013-2017 NYS Secondary Math http://PAEMST.org Nominee
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.python.org/pipermail/edu-sig/attachments/
> 20170610/76e4d32a/attachment-0001.html>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 10 Jun 2017 18:12:07 -0400
> From: "A. Jorge Garcia" <calcpage at aol.com>
> To: kirby.urner at gmail.com
> Cc: edu-sig at python.org
> Subject: Re: [Edu-sig] How does Python help with Calculus?
> Message-ID: <15c94107c2d-2b9c-4651 at webprd-a28.mail.aol.com>
> Content-Type: text/plain; charset="utf-8"
>
> (SRY, TYPOS FIXED)
> FYI, here's my YouTube playlist including final projects for AP Calculus
> and AP Computer Science from 2012-2016. Screencasts for 2017 will be
> forthcoming soon!?
> https://www.youtube.com/playlist?list=PLL956Pn2cKSjxPBTcG2XYzNOB5tQ1txgx
>
> This year we'll be using SMC (Sage Math Cloud)?https://cloud.sagemath.com,
> recently renamed?https://cocalc.com. CoCalc includes everything you need
> to code in the cloud. I think it's on GCP (Google Compute Platform) as
> opposed to?https://repl.it,?https://cs50.io?and?https://c9.io?which are
> on AWS (Amazon Web Services). On Cocalc you can make 3 different types of
> documents: SAGE WorkSheet, Jupyter NoteBook and LaTEX Documents.
>
> Also, here's my 2016 playlist for the AP Calculus exam comparing the use
> of TI84C, TI92, TI nSpire CX CAS, SageCell and python!
> https://www.youtube.com/playlist?list=PLL956Pn2cKSje0HeHkR38C8BVWbTeOFUy
>
> HTH,?
> A. Jorge Garcia?
> Applied Math, Physics & CS?
> http://shadowfaxrant.blogspot.com?;
> http://www.youtube.com/calcpage2009?;
> 2013-2017 NYS Secondary Math?http://PAEMST.org?Nominee
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.python.org/pipermail/edu-sig/attachments/
> 20170610/3ad047d8/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Edu-sig mailing list
> Edu-sig at python.org
> https://mail.python.org/mailman/listinfo/edu-sig
>
>
> ------------------------------
>
> End of Edu-sig Digest, Vol 167, Issue 1
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/edu-sig/attachments/20170611/b7af5d5c/attachment-0001.html>


More information about the Edu-sig mailing list