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