ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 24 May 2024 13:08:58 +0200Automated assessment of exercises in Jupyter with Sagehttps://ask.sagemath.org/question/77618/automated-assessment-of-exercises-in-jupyter-with-sage/Hello everybody out ther using *Sage*,
Many of us are involved in and enjoy teaching math.
Active exercises are very helpful to get students involved.
Automated, instantaneous evaluation of answers would offer advantages over manual correction of exercises.
This is however not trivial, because it requires identifying the equivalence of mathematical (numerical and algebraic) expressions like for example `1/2*x*x`, `0.5x^2`, `0.500*sqrt(x^4)`
Solutions include Universtiy of Rochester's Webwork, the "STACK" plugin for Moodle (by Chris Sangwin, who has extensive experience in computer aided assessment of math; MAXIMA-based) or "NUMBAS".
Using *Sage* within *Jupyter* to automatically evaluate answers to exercises seems a natural, simpler and yet more powerful alternative to me, but the closest approach I found was the *nbgrader* add-on/plugin for *Jupyter*.
Is it possible use *nbgrader* or any other way to evaluate entered mathematical expressions for automated assessment?
WuffiFri, 24 May 2024 13:08:58 +0200https://ask.sagemath.org/question/77618/Typesetting environment in notebookhttps://ask.sagemath.org/question/8788/typesetting-environment-in-notebook/I tried to edit the following notebook [here](http://sagenb.org/home/pub/4688/). On editing it seems to have a rich text formatting environment of its own - how do i get it?d3banjanSun, 15 Apr 2012 19:09:11 +0200https://ask.sagemath.org/question/8788/Excercises, randomly generated and automatically checkedhttps://ask.sagemath.org/question/9759/excercises-randomly-generated-and-automatically-checked/I've been authoring excercise questions for students using [Maple T.A.](http://www.maplesoft.com/products/mapleta/). These questions are randomly generated, and answers checked online, which gives immediate feedback to students. Students like this service, but I as an author was severely annoyed by the workflow, and thought that it should be possible to achieve something better using Sage.
**Is there any project underway which attempts to use Sage to generate questions and check answers in a web-based setup?** If so, how mature is it?
If you want an *example* question, I'd be particularly interested in a question asking students to find an orthogonal basis for a vector space spanned by a given set of vectors. As that basis isn't uniquely defined, a fixed answer won't work, so the provided answer has to be checked using custom code. As the dimension of that vector space might vary between randomizations, a fixed input form doesn't seem a good idea, so I'd prefer either some JavaScript tool to manually adjust the number of vectors in the HTML page, or some way to enter a set of vectors as a single expression. The latter is the approach I currently take with Maple T.A., but it requires students to not only worry about their computations but also about the syntax for entering the results. And it raises the question of how to restrict the set of possible inputs, as executing arbitrary user-entered Python code would be a road to disaster, unless some reasonable sandbox were available.MvGFri, 01 Feb 2013 10:40:23 +0100https://ask.sagemath.org/question/9759/vector calchttps://ask.sagemath.org/question/8281/vector-calc/Hi!
Is there already a sage tutorial/notes for teaching vector calculus (like double integrals, vector fields, ...). I looked on the teaching website, but there was not so much available yet.
Thanks,
AnneAnne SchillingFri, 19 Aug 2011 03:12:59 +0200https://ask.sagemath.org/question/8281/