Skip to main content

When to use the 'Defines a Quantity' check?

E
Written by Eric Bouwers
Updated over 2 weeks ago

Grasple has multiple check methods using the Computer Algebra System (CAS) which can be used within the editor to indicate when the answer of a student should be marked correct/incorrect. A full list of current options can be found in this article.
​
This article covers the Defines a Quantity check. There are two sections in this article:

  1. When to use the Defines a Quantity check?

  2. How does the Defines a Quantity check work?

When to use the Defines a Quantity check?

This check makes it possible to check if a given right-hand side expression (normally the answer given by the student) contains a quantity. This means that 1 kg, 1 g, and 1 kilonewton will all pass this test, while 1+1, or 1 do not.

How does the Defines a Quantity check work?

This check tries to extract the quantity part of a given unit expressions. If this part cannot be found the check will fail, otherwise it will succeed.

Questions of Feedback

Do you want to know more about this check, whether you should use it for your exercise or any of the other checks? Please let us know via the chat icon in the right bottom of the screen!

Did this answer your question?