Demo: different comparison methods in pl-number-input

The comparison between the correct and submitted answers can be done using three different methods: relabs, sigfigs and decdig. For example:

1) relabs uses relative (rtol) and absolute (atol) tolerances:

Calculate the area of a square with size equal to $1.5$ cm:

Area $\;=$ cm$^2$

2) sigfig uses significant digits:

If $b = 4.016$, determine the product $2b$:

$2b =$

Correct answer
Student view placeholder
In student views this area is used for assessment and score info.
Staff information
Staff user:
Dev User
dev@example.com

Question:
Title:
Demo: different comparison methods in pl-number-input
Started at:
2024-09-19 17:58:16 (CDT)
Duration:
0 s
Show/Hide answer
{
  "b2": 8.032,
  "area": 2.25
}