Ecrire un système d'équation

Accueil Forums Programmation WIMS Programmation dans le langage wims Ecrire un système d'équation

Vous lisez 3 fils de discussion
  • Auteur
    Messages
    • #3862
      Jacques
      Participant
      Up
      0
      Down
      ::

      Bonjour,

      Sauriez-vous comment écrire un système d’équations numérotées le tout précédé d’une accolade devant (à gauche) ?

      Merci d’avance.

    • #3863
      jm.evers
      Participant
      Up
      0
      Down
      ::

      in latex mode (math-with-images) the automatic equation numbering is easy…use

      
      \begin{equation}
          f(x) = x^3 
          g(x) = x^4
          h(x) = x^5
        \end{equation}
      

      however in wims mathml this is not -yet- supported…you have to manually add the numbering

      So in wims_mathml use something like

      
      \left\{
       \begin{array}{lclr}
         f(x) & = & \sin(x^{2}) & (1) \\
         h(x) & = & \sin\left(x^{\frac{1}{2}}\right) & (2) \\
         i(x) & = & \sin(2x) & (3) \\
         j(x) & = & \sin(3\cdot x) & (4) \\
         k(x) & = & \sin(\sqrt{x}) & (5) 
       \end{array}
      \right.
      

      hope this helps…
      Joke

      • Cette réponse a été modifiée le il y a 6 années et 10 mois par jm.evers.
      • #3865
        Jacques
        Participant
        Up
        0
        Down
        ::

        J’ai essayé de mettre ce code dans un exercice mais visiblement, quelque chose doit m’échapper…

        En tous cas, merci beaucoup de votre réponse.

    • #3866
      jm.evers
      Participant
      Up
      0
      Down
      ::

      Sorry, my answer was not complete…If you use createxo, you could try this (avoiding the unbalanced brackets error)

      \statement{
      \(
      \begin{cases}
       \begin{array}{lclr}
         f(x) & = & \sin(x) & (1) \\
         h(x) & = & \sin(x) & (2) \\
         i(x) & = & \sin(x) & (3) \\
         j(x) & = & \sin(x) & (4) \\
         k(x) & = & \sin(x) & (5) 
       \end{array}
      \end{cases}
      )
      }
      

      joke

    • #3867
      bernadette
      Maître des clés
      Up
      0
      Down
      ::

      In OEF the solution with array is OK if you replace by \lbrace
      or \lpar or \lbracket according to the type of parenthesis
      and of course \rbrace, etc for the right parenthesis if useful.

      \statement{
      \(\left\lbrace
       \begin{array}{lclr}
         f(x) & = & \sin(x^{2}) & (1) \\
         h(x) & = & \sin\left(x^{\frac{1}{2}}\right) & (2) \\
         i(x) & = & \sin(2x) & (3) \\
         j(x) & = & \sin(3\cdot x) & (4) \\
         k(x) & = & \sin(\sqrt{x}) & (5) 
       \end{array}
      \right.
      \)
      }
Vous lisez 3 fils de discussion
  • Vous devez être connecté pour répondre à ce sujet.