Wiris

Documentation / LearningLemur

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • Nubric

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

                      • Home
                      • Nubric
                      • Using Nubric
                      • Advanced Logic in Nubric

                      Advanced Logic Examples in Nubric

                      This page provides fully worked examples of advanced logic in LearningLemur. Each example demonstrates how to control random generation, enforce mathematical constraints, and guarantee specific solution properties. You can copy these patterns directly or adapt them to your own quizzes.

                      • How to generate two random irreducible fractions
                      • How to generate a quadratic equation with rational solutions
                      • How to generate two integers with a predefined greatest common divisor
                      • How to generate a division with no remainder (exact division)
                      • How to generate a right-angled triangle with integer sides (Pythagorean triple)
                      • How to generate a 3×3 linear system with a unique integer solution
                      • How to generate linearly independent or dependent 3D vectors

                      Empowering STEM education

                      MathType

                      • Office Tools
                      • LMS
                      • XML
                      • HTML

                      WirisQuizzes

                      Learning Lemur

                      Integrations

                      Solutions

                      • Education
                      • Publishing houses – platforms and interactive
                      • Publishing houses – Print and digital
                      • Technical writers

                      Pricing

                      Downloads

                      Blog

                      • Success stories

                      About us

                      • Careers
                      • Partnership

                      Contact Us

                      Contact Sales

                      European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                      • Cookie Policy
                      • Terms of Use
                      • Privacy Policy / GDPR
                      • Student Data Privacy
                      • Compliance
                      • Cookie Settings

                      © Wiris 2026

                      Expand