Ask Your Question
0

Does Sage "Show Its Work"?

asked 2013-12-17 08:07:51 -0500

anonymous user

Anonymous

updated 2015-01-13 14:57:57 -0500

FrédéricC gravatar image

Does Sage "Show Its Work"? This seems like a very simple question but am unable to find a definitive answer. If Sage simply evaluates to an answer and doesn't show its work to arrive at this a student would not really learn anything from this.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2013-12-18 05:35:36 -0500

Saul Schleimer gravatar image

I think that http://ask.sagemath.org/question/474/... has the answer to your question, which unfortunately is "no". You should consider asking the sage developers this question.

Note that there are various sites on-line that offer homework help. The first that springs to mind is http://math.stackexchange.com/ which states "Mathematics Stack Exchange is a question and answer site for people studying math at any level".

edit flag offensive delete link more
0

answered 2013-12-17 10:15:50 -0500

Luca gravatar image

Sage is open source. A student, or anyone else, can learn how sage computes the answers by reading the source code.

This can even be done interactively, by using the ?? magic. Say you want to learn how the Sylvester matrix of two polynomials is computed. After creating a polynomial object

sage: R.<x> = QQ[]

(x in this case) you can read the source code of sylvester_matrix() like this

sage: x.sylvester_matrix??

Admittedly, this will rarely give you a crystal clear explanation of the algorithm, as most of the time the work is done elsewhere (for example in some C library).

edit flag offensive delete link more

Comments

I think the questioner is asking "Can I see the steps whereby sage arrived at this answer?" This is not very well-defined, but in some cases, "showing steps" would be a useful feature.

Saul Schleimer gravatar imageSaul Schleimer ( 2013-12-17 10:53:58 -0500 )edit

For example, Wolfram Alpha can do something like this - see http://blog.wolframalpha.com/2012/09/26/introducing-expanded-step-by-step-math-solutions/ I'll note that the one time I tried to use this feature, WA fell over. :)

Saul Schleimer gravatar imageSaul Schleimer ( 2013-12-17 10:56:53 -0500 )edit

Thank you for the reply Luca but Saul summed it up better than I could. A feature that would show the steps would be invaluable. Just evaluating the answer doesn't really help if your trying to help your children do homework.

K.C. gravatar imageK.C. ( 2013-12-18 01:50:39 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-12-17 08:07:51 -0500

Seen: 151 times

Last updated: Dec 18 '13