Thanks to some help from the Forum, I was able to recreate the WeBWork problem that uses an embedded GeoGebra applet example for the bounded area under a curve displayed at http://webwork.maa.org/wiki/GeoGebraWeb1#.WwxgjqrRWUl
I feel confident enough that I could create more of these, but only so far as the example goes.
That is, the example above passes 2 arguments ($c and $d) from the WeBWorK problem to its embedded GeoGebra applet. The resulting area under the curve gets calculated separately in WeBWork and GeoGebra. Then a wide tolerance is given in the answer blanks, I am assuming for any discrepancy that occurs between GeoGebra’s CAS and WeBWorK’s binary calculation?
At any rate, what if the GeoGebra applet had a number of manipulatives that (with JavaScript) result in a single value being passed on to WeBWorK as a score for the student’s accuracy in positioning these manipulatives? How difficult is this to create as a prospective homework problem?
Specifically I would like to embed Marc Renault’s GeoGebra applet in a WeBWorK homework problem:
http://webspace.ship.edu/msrenault/GeoGebraCalculus/derivative_try_to_graph.html
Thirteen coordinate points must be moved on their respective vertical axis to approximate the sketch of the derivative for a randomly generated function on the interval [-6, 6]. The student is prompted to move these 13 points and a resulting accuracy score is given on the students attempt. The student can continue to improve their accuracy, but not their initial score unless they opt to reset the graph and begin again with a new function.
Marc Renault has granted permission to use his applet, and passed on the html code to me, but I imagine this poses a bigger challenge? It is just a single value that would need to be passed onto WeBWork though, so doesn’t this sound like a workable problem?
I have read over the JavaScript/WebWork example but it is not a robust example.
Any help you can give to help shed light on embedding this applet is most appreciated.
Sincerely, Tim