Computer Science, asked by skis0975, 2 months ago

Write a Mathml program to display the following mathematical notation: P =2 ( L + B ) ​

Answers

Answered by allysia
2

Notations :

\\\tt <math \  xmlns = "http:// www.w3.o rg/1998/Math/MathML" > \\ <mrow> \\ <mn>2</mn>\\  <mo>\ \ (\ \ </mo> \\ <mi>L</mi>  \\ <mo>+</mo>  \\ <mi>B</mi>\\ <mo>\ )\ </mo>  \\  </mrow>\\ </math>\\

Explanation:

  • Line 1 : Specifies the version and encloses child tags within.
  • <mrow>: Keeps the equation in a horizontal line.
  • <mo>: Tells there's an operator within.
  • <mi>: Tells the operator inside is an identifier.
  • <mn> : tells the enclosed element is a number.

Note: Enter the notations inside <body> </body> tags of HTML..

Similar questions
Math, 8 months ago