[LON-CAPA-users] formula response or maxima response example requested
Jay Sullivan
lon-capa-users@mail.lon-capa.org
Thu, 29 Nov 2007 12:45:13 -0500
------=_Part_7310_25373516.1196358313953
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi Folks,
I'm looking for an example of a specific type of formula response (or maxima
graded response).
What I would like a student to do is to enter a polynomial function.
However, I want to be sure that they have entered it in expanded form (i.e.
_not_ as a product of factors). I know that formula response will accept
either as correct since the test function matches the input function in
either case.
Here is a specific example, to clarify:
Find a polynomial of least degree having only real coefficients, with *zeros
-3,-2,-1,1,2,3* and with *f(0) = -36*.
Using a loncapa formula response either of the answers below are graded as
correct:
(x+3)(x+2)(x-1)(x-2)(x-3) OR x^6 -14*x^4 +49*x^2 -36
I would like to be able to require that students explicitly enter the second
version. I'm guessing there is a way to
do this with maxima? I'd rather not use a string response.
Thanks for any tips or related examples......
Jay
------=_Part_7310_25373516.1196358313953
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi Folks,<br><br>I'm looking for an example of a specific type of formula response (or maxima graded response).<br><br>What I would like a student to do is to enter a polynomial function. However, I want to be sure that they have entered it in expanded form (
i.e. _not_ as a product of factors). I know that formula response will accept either as correct since the test function matches the input function in either case.<br><br>Here is a specific example, to clarify:<br><br><a name="10">
Find a polynomial of least degree having only real coefficients, with <b>zeros -3,-2,-1,1,2,3</b> and with <b>f(0) = -36</b>.<br><br>Using a loncapa formula response either of the answers below are graded as correct:<br>
<br>(x+3)(x+2)(x-1)(x-2)(x-3) OR x^6 -14*x^4 +49*x^2 -36<br><br>I would like to be able to require that students explicitly enter the second version. I'm guessing there is a way to <br>do this with maxima? I'd rather not use a string response.
<br><br></a>Thanks for any tips or related examples......<br>Jay<br><br>
------=_Part_7310_25373516.1196358313953--