Dear Antony,
if you search for "accept any symmetric matrix", you will find a
question by Christian which does exactly this kind of thing, and you can
easily adapt the checking condition to det(studentMatrix)<>0
On 20.01.21 08:29, Antony Edwards wrote:
> Hi,
>
> I am hoping to write some questions that involve "give an example of
> <object> satisfying <condition>". I think that I will need to use custom
> marking scripts to make this work, but I would love to hear alternative
> options.
>
> I was wondering if anyone either had any questions like this they could
> share, or some simple questions that showcase basic custom marking
> scripts. I was thinking along the complexity of:
>
> 1. Student enters two numbers in gap fills
> 2. Part is correct if the first number is greater than the second
>
> or,
>
> 1. Student enters a 2x2 matrix
> 2. Part is correct if the matrix is non-singular
>
> etc.
>
> Cheers,
> Ant.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Numbas Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
numbas-users...@googlegroups.com
> <mailto:
numbas-users...@googlegroups.com>.
> To view this discussion on the web, visit
>
https://groups.google.com/d/msgid/numbas-users/6310a0b4-4b2a-4c35-9468-911e1b3c17d9n%40googlegroups.com
> <
https://groups.google.com/d/msgid/numbas-users/6310a0b4-4b2a-4c35-9468-911e1b3c17d9n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Dr Julia Goedecke
Teaching Fellow in Mathematics
University of Leicester
julia.g...@leicester.ac.uk
0116 252 5352