[LON-CAPA-users] formula response or maxima response example requested

Jay Sullivan lon-capa-users@mail.lon-capa.org
Fri, 30 Nov 2007 17:08:12 -0500


------=_Part_2135_8862327.1196460493018
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Peter,

Thanks so much! That's just what I was looking for.

Jay


On Nov 29, 2007 3:36 PM, Peter Riegler <p.riegler@fh-wolfenbuettel.de>
wrote:

> Hi,
>
> since I had typed in the source code anyway, I have proceeded to publish
> the problem:
> res/fhwf/riegler/Mathematik/Analysis/Polynome/polynomialAccToSpecs.proble=
m
> However, I am not sure whether the wording is appropriate.
>
> Have fun
>
> Peter
>
> Jay Sullivan wrote:
>
> > 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) =3D -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
> >
>
> --
> Peter Riegler
> Fachhochschule Braunschweig/Wolfenb=FCttel
> Salzdahlumer Str. 46/48, 38302 Wolfenb=FCttel
> Tel. +49 5331 939 6314, Fax. +49 5331 939 6002
> email: p.riegler@fh-wolfenbuettel.de
> http://public.rz.fh-wolfenbuettel.de/~riegler<http://public.rz.fh-wolfenb=
uettel.de/%7Eriegler>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>

------=_Part_2135_8862327.1196460493018
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Peter,<br><br>Thanks so much! That&#39;s just what I was looking for.<br><b=
r>Jay<br><br><br><div class=3D"gmail_quote">On Nov 29, 2007 3:36 PM, Peter =
Riegler &lt;<a href=3D"mailto:p.riegler@fh-wolfenbuettel.de">p.riegler@fh-w=
olfenbuettel.de
</a>&gt; wrote:<br><blockquote class=3D"gmail_quote" style=3D"border-left: =
1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;=
">Hi,<br><br>since I had typed in the source code anyway, I have proceeded =
to publish
<br>the problem:<br>res/fhwf/riegler/Mathematik/Analysis/Polynome/polynomia=
lAccToSpecs.problem<br>However, I am not sure whether the wording is approp=
riate.<br><br>Have fun<br><font color=3D"#888888"><br>Peter<br></font><div>
<div></div><div class=3D"Wj3C7c"><br>Jay Sullivan wrote:<br><br>&gt; Hi Fol=
ks,<br>&gt;<br>&gt; I&#39;m looking for an example of a specific type of fo=
rmula response (or<br>&gt; maxima graded response).<br>&gt;<br>&gt; What I =
would like a student to do is to enter a polynomial function.
<br>&gt; However, I want to be sure that they have entered it in expanded f=
orm (<br>&gt; i.e. _not_ as a product of factors). I know that formula resp=
onse will<br>&gt; accept either as correct since the test function matches =
the input
<br>&gt; function in either case.<br>&gt;<br>&gt; Here is a specific exampl=
e, to clarify:<br>&gt;<br>&gt; Find a polynomial of least degree having onl=
y real coefficients, with<br>&gt; *zeros -3,-2,-1,1,2,3* and with *f(0) =3D=
 -36*.
<br>&gt;<br>&gt; Using a loncapa formula response either of the answers bel=
ow are graded<br>&gt; as correct:<br>&gt;<br>&gt; (x+3)(x+2)(x-1)(x-2)(x-3)=
 &nbsp; OR &nbsp; x^6 -14*x^4 +49*x^2 -36<br>&gt;<br>&gt; I would like to b=
e able to require that students explicitly enter the
<br>&gt; second version. I&#39;m guessing there is a way to<br>&gt; do this=
 with maxima? I&#39;d rather not use a string response.<br>&gt;<br>&gt; Tha=
nks for any tips or related examples......<br>&gt; Jay<br>&gt;<br><br></div=
>
</div><div><div></div><div class=3D"Wj3C7c">--<br>Peter Riegler<br>Fachhoch=
schule Braunschweig/Wolfenb=FCttel<br>Salzdahlumer Str. 46/48, 38302 Wolfen=
b=FCttel<br>Tel. +49 5331 939 6314, Fax. +49 5331 939 6002<br>email: <a hre=
f=3D"mailto:p.riegler@fh-wolfenbuettel.de">
p.riegler@fh-wolfenbuettel.de</a><br><a href=3D"http://public.rz.fh-wolfenb=
uettel.de/%7Eriegler" target=3D"_blank">http://public.rz.fh-wolfenbuettel.d=
e/~riegler</a><br>_______________________________________________<br>LON-CA=
PA-users mailing list
<br><a href=3D"mailto:LON-CAPA-users@mail.lon-capa.org">LON-CAPA-users@mail=
.lon-capa.org</a><br><a href=3D"http://mail.lon-capa.org/mailman/listinfo/l=
on-capa-users" target=3D"_blank">http://mail.lon-capa.org/mailman/listinfo/=
lon-capa-users
</a><br></div></div></blockquote></div><br>

------=_Part_2135_8862327.1196460493018--