[LON-CAPA-users] Having an equation or a range as a response

Seema Ali sali at vsb.bc.ca
Thu Jan 19 20:39:24 EST 2012

An example would be:
State the equation for the asymptote for the graph y=10x+7+8. 
Answer:  [answer box]
I would like the student to enter the entire equation into the answer box.
(I'll look into customresponse.)
>From Seema.


From: lon-capa-users-bounces at mail.lon-capa.org on behalf of Gerd Kortemeyer
Sent: Thu 1/19/2012 5:28 PM
To: Discussion list for LON-CAPA users
Subject: Re: [LON-CAPA-users] Having an equation or a range as a response


On Jan 19, 2012, at 8:18 PM, Seema Ali wrote:

> I'm super new to Lon Capa and I'm trying it out to see what I can do with it.  I have a huge list of questions but for now I'll just ask two.
> A.  How to you set up the response (evaluation) so that a student can enter an equation.  For example:
> 1. x=4
> 2. y=5
> 3.  u^2 + v^2 = 2

That depends on how you want to check if it's a correct equation. Very easy would be

x=[answer box]
y=[answer box]

Would "x+2=6" or "sqrt(x)=2" also be correct for 1.?

If you could send a concrete problem, I'll be happy to code some samples.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20120119/90a14c23/attachment.html>

More information about the LON-CAPA-users mailing list