655 results authored by Christian Lawson-Perfect - search across all users.
-
Question in How-tos
This question uses the linear algebra extension to generate a system of linear equations which can be solved.
We want to produce an equation of the form $\mathrm{A}\mathbf{x} = \mathbf{y}$, where $\mathrm{A}$ and $\mathbf{y}$ are given, and $\mathbf{x}$ is to be found by the student.
First, we generate a linearly independent set of vectors to form $\mathrm{A}$, then freely pick the value of $\mathbf{x}$, and calculate the corresponding $\mathbf{y}$.
To generate $\mathrm{A}$, we generate more vectors we need, then pick a linearly independent subset of those using the
subset_with_dimensionfunction. -
Question in How-tos
The gap-fill part in this question is only marked correct if both gaps are correct.
The feedback from the individual gaps is not shown.
-
Question in How-tos
A custom marking algorithm for a JME part estabishes whether the student's answer is equivalent to the expected answer, up to an arbitrary constant factor.
-
Question in Demos
No description given
-
Question in Christian's workspace
Given two numbers, find the gcd, then use Bézout's algorithm to find $s$ and $t$ such that $as+bt=\operatorname{gcd}(a,b)$. Finally, find all solutions of an equation $\mod b$.
-
Question in How-tos
The student's answer is a fraction of two polynomials. First check that the student's answer is a fraction, then check that the numerator is of the form $x+a$.
To find the script, look in the Scripts tab of part a.
-
Question in Christian's workspace
Based on an activity tweeted by Richard Perring.
-
Question in How-tos
An all-or-nothing marking scheme for a gap-fill part: the student must answer every gap correctly to get all the marks. If any gap is incorrect they get 0 marks for the whole part.
-
Question in Christian's workspace
No description given
-
Question in Christian's workspace
Demo question: do some sneaky symbolic differentiation to check that the student's answer is the integral of the expression they're given.
Needs an advice section before it can be used.
-
Question in Christian's workspace
Doesn't work - used the old extension.
Mark a GeoGebra worksheet.
Needs a worked solution.
-
Question in Christian's workspace
Experimental question using JSXGraph to provide dynamic, interactive graphs.
-
Question in Demos
Find a regression equation.
Now includes a graph of the regression line and another interactive graph gives users the opportunity to move the regression line around. Could be used for allowing users to experiment with what they think the line should be and see how this compares with the calculated line.
Also includes an updated SSE to see how the sum of the squares of the residuals varies with the regression line.
-
Question in Christian's workspace
Widget Sales
-
Question in Christian's workspace
Widget Sales
-
Question in Demos
This question demonstrates how to use the "Download a text file" extension to create a link to download a file containing text created from question variables.
-
Question in Demos
This question shows how to load a GeoGebra applet from geogebra.org.
-
Question in Christian's workspace
This question applies a rewriting rule to the student's answer and correct answer, to interpret chained inequalities $a<b<c$ and $a>b>c$ as $(a<b) \wedge (b<c)$ and $(a>b) \wedge (b>c)$ respectively.
This is a work-around until the parser interprets chained relations this way automatically.
-
Question in Question authoring examples
This question is the one described in method 1 of the example "Apply a standard integral" in the Numbas documentation.
The student is shown a randomly chosen function to integrate. The function is one of $e^{kx}$, $x^k$, $\cos(kx)$, $\sin(kx)$, with $k$ a randomly chosen integer.
-
Question in Demos
No description given
-
Question in Demos
Customised for the Numbas demo exam
Factorise $x^2+cx+d$ into 2 distinct linear factors and then find $\displaystyle \int \frac{ax+b}{x^2+cx+d}\;dx,\;a \neq 0$ using partial fractions or otherwise.
Video in Show steps.
-
Question in Demos
Demonstration of adaptive marking: the student must first add up the number of apples to buy, then work out how much that would cost. Adaptive marking carries an incorrect number of apples into the cost calculation.
-
Question in DemosThe student is asked to add two four-digit numbers. Alternative answers are set up with progressively expanding ranges of accepted values, so the student gets more marks for getting closer to the true answer.
-
Question in Demos
Given the gradient of a slope and the coefficient of friction for a mass resting on it, use the equations of motion to calculate how it moves.
Includes a GeoGebra rendering of the model.
-
Question in Demos
An example of using the GeoGebra extension to ask the student to create a geometric construction, with marking and steps.
-
Question in Demos
A demo of the choose one from a list part and its options.
-
Question in Demos
A demo of some custom part types.
-
Question in How-tos
This question shows how to load a GeoGebra applet in JavaScript, avoiding the JME functions. This allows you to do some more complicated manipulation of the worksheet than simply redefining objects.
-
Question in Demos
This demonstrates how to construct a JSXGraph diagram in JME code.
The construction shows a triangle and its orthocentre, circumcentre and centroid. They are always collinear. You can move the vertices of the triangle.
-
Exam (7 questions) in Demos
A few questions which use the GeoGebra extension.