Numerical Analysis text

54 views
Skip to first unread message

Dana Ernst

unread,
Feb 7, 2010, 11:11:41 AM2/7/10
to sage...@googlegroups.com
I'm almost hesitate to ask this question on here in fear of being overwhelmed with responses:)

(Jason Grout has already heard me ask similar questions to those that follow, so I apologize to him in advance.)

I'll be teaching a Numerical Analysis course for the first time in a year and the plan is to use Sage throughout the course. I'm new to Sage and I'm hoping that between now and then, I'll be proficient enough to do this. I've never taught a numerical analysis course, and surprisingly, I've never taken one either. (What a better way to learn than to teach it!)

I'm curious if people have suggestions on textbooks that you think are particularly well-suited (or not well-suited) for using Sage.

I'm also doing the finishing touches on a master course syllabi that needs to be approved by our department and university (due Tuesday!). One of the last things that I need is a general outline/schedule of the form:

Topic A (2 weeks)
Topic B (1 week)
Topic C (3 weeks)
etc.

Having never taught the course, this is difficult to produce. I would love it if people would be willing to provide a sample outline that may correspond to your textbook suggestion.

Here are some other potentially useful nuggets of information:

1. This is an undergraduate course.
2. The prerequisites are Calculus II and Linear Algebra.
3. The course is a terminal course (there is not a second semester version of the course and it is not the prerequisite for any other courses).
4. The students will consist of mostly mathematics majors and a few computer science majors.
5. Most of the students will have no programming knowledge prior to the course. However, those that have had me for Calculus II and Abstract Algebra will (in theory) have had some experience with Sage.

Thanks in advance.


Dana Ernst, Ph.D.
Assistant Professor
Department of Mathematics
Plymouth State University
MSC 29, 17 High Street
Plymouth, NH 03264-1595

Email: dce...@plymouth.edu
Web Page: http://oz.plymouth.edu/~dcernst
Office: Hyde 312

David Joyner

unread,
Feb 7, 2010, 11:49:06 AM2/7/10
to sage...@googlegroups.com
There are notes of John Perry
http://sage.math.washington.edu/home/wdj/teaching/perry-math-computation-and-sage/
of William Stein
http://wiki.wstein.org/2008/480a
and there are Python programming links on my course
webpage for "Python and Coding Theory" that I'm now teaching :
http://www.usna.edu/Users/math/wdj/teach/sm450.html
The lecture notes might not help but some of the links
might be useful.

Good luck!

> --
> You received this message because you are subscribed to the Google Groups "sage-edu" group.
> To post to this group, send email to sage...@googlegroups.com.
> To unsubscribe from this group, send email to sage-edu+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en.
>
>

Rob Beezer

unread,
Feb 7, 2010, 3:03:39 PM2/7/10
to sage-edu
Undoubtedly, Jason mentioned Stephen Pav's numerical analysis text,
which is open-source. You could translate the examples from Octave to
Sage....

Discussion Group:
http://groups.google.com/group/numas_text

Source:
http://bitbucket.org/shabbychef/numas_text/

Rob

> Email: dcer...@plymouth.edu

Dana Ernst

unread,
Feb 7, 2010, 3:10:36 PM2/7/10
to sage...@googlegroups.com
> Undoubtedly, Jason mentioned Stephen Pav's numerical analysis text,
> which is open-source.

I'm not sure that he did, but thank you, regardless!

> You could translate the examples from Octave to
> Sage....
>
> Discussion Group:
> http://groups.google.com/group/numas_text
>
> Source:
> http://bitbucket.org/shabbychef/numas_text/

Awesome thanks!

After I sent my original message I realized that I had forgotten to mention that I would be interested in hearing about free and/or open-source textbook.

jason...@creativetrax.com

unread,
Feb 8, 2010, 7:37:47 AM2/8/10
to sage...@googlegroups.com
Dana Ernst wrote:
> I'm almost hesitate to ask this question on here in fear of being overwhelmed with responses:)
>
> (Jason Grout has already heard me ask similar questions to those that follow, so I apologize to him in advance.)
>
> I'll be teaching a Numerical Analysis course for the first time in a year and the plan is to use Sage throughout the course. I'm new to Sage and I'm hoping that between now and then, I'll be proficient enough to do this. I've never taught a numerical analysis course, and surprisingly, I've never taken one either. (What a better way to learn than to teach it!)
>
> I'm curious if people have suggestions on textbooks that you think are particularly well-suited (or not well-suited) for using Sage.
>
> I'm also doing the finishing touches on a master course syllabi that needs to be approved by our department and university (due Tuesday!). One of the last things that I need is a general outline/schedule of the form:
>
> Topic A (2 weeks)
> Topic B (1 week)
> Topic C (3 weeks)
> etc.
>
> Having never taught the course, this is difficult to produce. I would love it if people would be willing to provide a sample outline that may correspond to your textbook suggestion.
>
> Here are some other potentially useful nuggets of information:
>
> 1. This is an undergraduate course.
> 2. The prerequisites are Calculus II and Linear Algebra.
> 3. The course is a terminal course (there is not a second semester version of the course and it is not the prerequisite for any other courses).
> 4. The students will consist of mostly mathematics majors and a few computer science majors.
> 5. Most of the students will have no programming knowledge prior to the course. However, those that have had me for Calculus II and Abstract Algebra will (in theory) have had some experience with Sage.
>


This almost exactly mirrors our Numerical Analysis course, which I am
teaching this semester. The one difference is that all of my students
have taken a beginning programming course (and many of them have much
more programming experience).

Two weeks ago I designed our first Sage lab day. It seemed to be
helpful, even to the seniors in CS. It's still pretty rough, but I can
email it to you if you want. It basically looks at binary number
systems, issues of precision and rounding, etc.

It relies on several patches to RealField, which I have applied to our
campus Sage server. It would be *great* if those were reviewed :).

http://trac.sagemath.org/sage_trac/ticket/7682

Right now, there are 4 failing doctests that I know of, on purpose,
because I'm not exactly sure what the returned results of some corner
cases should be. We could take out the four failing doctests (I added
them to cover corner cases) and put them on #8074, where more corner
case issues are brought up.

The patch is a general cleanup of docs and adds lots and lots of
doctests. It also adds Field-wide printing options, so you can easily
do, for example:

RR.print_options['truncate']=False

to stop RR from rounding a few decimal places so you can actually see
the binary value in RR.

Thanks,

Jason

Dana Ernst

unread,
Feb 8, 2010, 4:09:52 PM2/8/10
to sage...@googlegroups.com
On Feb 8, 2010, at 7:37 AM, jason...@creativetrax.com wrote:

> Two weeks ago I designed our first Sage lab day. It seemed to be helpful, even to the seniors in CS. It's still pretty rough, but I can email it to you if you want.

Yes, please!

Thanks,

Dana

Jason Grout

unread,
Feb 8, 2010, 7:15:03 PM2/8/10
to sage...@googlegroups.com

I've published it here: http://sagenb.org/home/pub/1539/

You need to apply the patch at
http://trac.sagemath.org/sage_trac/ticket/7682 to have all of the
commands work (in particular, the setting of printing options on a
field-by-field basis, instead of specifying printing options every time
you print a real number).

Thanks,

Jason

Reply all
Reply to author
Forward
0 new messages