Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16638

Re: What's in an expression?

From Murray Eisenberg <murray@math.umass.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: What's in an expression?
Date 2014-03-11 07:16 +0000
Message-ID <lfmd90$n70$1@smc.vnet.net> (permalink)
References <20140310083813.8DCCA6A2A@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


One way, which doesn't involve looking at the form of the student's 
symbolic answer, is something employed by a at least one of the popular 
on-line homework systems: evaluate the "correct" answer at a number of 
judiciously chosen numerical values of x, evaluate the student's answer 
at the same values of x, and check that they're the same (within fuzz).

Otherwise, you may have to deal with a myriad of possible forms in which 
the student might submit an answer without actually doing what you want.
 
On Mar 10, 2014, at 4:38 AM, sam.takoy@yahoo.com wrote:

> Hi all,
>
> I'm building a little Mathematica system that checks answers entered 
by students. Suppose the question is "what is Sin'[x]?" ad the student 
responds: Sin'[x] which is "correct", but not the intended answer 
(Cos[x]). I'm wondering if there is a general way to approach this sort 
of problem. In particular, is there a way to find out whether a given 
expression includes certain elements (like Derivative)?
>
> Thank you in advance,
>
> Sam
>

Murray Eisenberg                                murray@math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower      phone 240 246-7240 (H)
University of Massachusetts               
710 North Pleasant Street                
Amherst, MA 01003-9305






Back to comp.soft-sys.math.mathematica | Previous | NextNext in thread | Find similar


Thread

Re: What's in an expression? Murray Eisenberg <murray@math.umass.edu> - 2014-03-11 07:16 +0000
  Re: What's in an expression? Richard Fateman <fateman@cs.berkeley.edu> - 2014-03-12 07:29 +0000
  Re: What's in an expression? Murray Eisenberg <murray@math.umass.edu> - 2014-03-13 07:35 +0000
  Re: What's in an expression? Richard Fateman <fateman@berkeley.edu> - 2014-03-15 07:54 +0000

csiph-web