Documentation / WirisQuizzes

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • Wiris Quizzes

      • Learning Lemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Home
                    • Wiris Quizzes
                    • Advanced Validation Features
                    • Plus/Minus operator
                    • Plus/Minus operator

                    Example 2: Complex expression

                    Reading time: 1min

                    A well-known expression is a formula for solving the second-order degree polynomial. For instance, the roots of the polynomial x²+bx+c are given by -b±b²-4c/2. Let us ask the student to write this expression.

                    The correct answer will be

                    As before, we have to change the default settings to allow the students to answer with any correct syntax:

                    • Braces are not necessary: Validation > Options for general > Lists always need curly brackets "{}".

                    • The order is not important: Validation > Comparison with student answer > Compare as sets.

                    Finally, we can test the behaviour.

                     

                    Was this article helpful?

                    Yes
                    No
                    Give feedback about this article

                    Related Articles

                    • Plus/Minus operator
                    • Example 1: Simple equation
                    • Equation

                    Making people’s STEM work more meaningful

                    MathType

                    • MathType for Office Tools
                    • MathType for Mac
                    • MathType for Microsoft 365
                    • MathType for Google Workspace
                    • MathType for LMS
                    • MathType for XML Editors
                    • Arabic notation
                    • Our products accessibility
                    • MathType is online

                    WirisQuizzes

                    Learning Lemur

                    Solutions for Education

                    • Blackboard Learn
                    • Brightspace by D2L
                    • Canvas
                    • Google Classroom
                    • Moodle
                    • Schoology

                    Solutions for Publishing Houses

                    Solutions for Technical Writers

                    Solutions for Chemistry

                    Integrations

                    • HTML Editors
                    • MathType in WordPress

                    Pricing

                    Company

                    Careers

                    Blog

                    Contact Us

                    Buy Now

                    Plugin Downloads

                    © Wiris 2025

                    • Cookie Preferences
                    • Cookie Policy
                    • Terms of Use
                    • Privacy Policy / GDPR
                    • Student Data Privacy
                    • Compliance
                    • Powered by Helpjuice
                    Expand