# 0.10 Writing mathml  (Page 2/3)

 Page 2 / 3

## Illustration

To illustrate different aspects of MathML encoding and logical sequence in which code lines are written, we undertake to write MathML codes for an equation given here : $x=\left[32000\left(1-\genfrac{}{}{0.2ex}{}{5}{100}\right)\left(1+\genfrac{}{}{0.2ex}{}{10}{100}\right)\left(1+\genfrac{}{}{0.2ex}{}{\frac{25}{2}}{100}\right)\right]$

Step 1 : Observe the content of the equation from left to right. Identify terms requiring expansion in vertical directions. In the given equation, there are three such terms. It is evident that “mfrac” element suits the requirement in hand. The last of three “mfrac” based expression, matter of fact, would require nested use of “mfrac” element.

Step 2 : Start from the left and write or insert basic construct of “mi” element (line 2).

1: <m:math display="block"> 2: <m:mi> x </m:mi> </m:math>

Step 3 : Copy “mi” element construct (line 2) and paste on the following line (line 3). Change “i” to “o” in order to change the initial and final tags to “mo” tags and change “x” by “=” so that code looks like :

1: <m:math display="block"> 2: <m:mi> x </m:mi> 3: <m:mo> = </m:mo> </m:math>

Step 4 : In this step, using the technique of Step 2, add following 5 lines at the end (4 to 8):

1: <m:math display="block"> 2: <m:mi> x </m:mi> 3: <m:mo> = </m:mo> 4: <m:mi> x </m:mi> 5: <m:mi> x </m:mi> 6: <m:mi> x </m:mi> 7: <m:mi> x </m:mi> 8: <m:mi> x </m:mi> </m:math>

Use appropriate token elements with identifiers, operators and numbers by modifying the newly added lines :

1: <m:math display="block"> 2: <m:mi> x </m:mi> 3: <m:mo> = </m:mo> 4: <m:mo> [ </m:mo> 5: <m:mn> 3200 </m:mn> 6: <m:mo> ( </m:mo> 7: <m:mn> 1 </m:mn> 8: <m:mo> - </m:mo> </m:math>

What you have coded till now : $x=\left[3200\left(1-$

What is to be coded ultimately : $x=\left[32000\left(1-\genfrac{}{}{0.2ex}{}{5}{100}\right)\left(1+\genfrac{}{}{0.2ex}{}{10}{100}\right)\left(1+\genfrac{}{}{0.2ex}{}{\frac{25}{2}}{100}\right)\right]$

Step 4 : In this step, we shall handle the vertical term with “mfrac” element. Insert the basic block of “mfrac” element or type at the end (9 to 12) as shown :

1: <m:math display="block"> 2: <m:mi> x </m:mi> 3: <m:mo> = </m:mo> 4: <m:mo> [ </m:mo> 5: <m:mn> 3200 </m:mn> 6: <m:mo> ( </m:mo> 7: <m:mi> 1 </m:mi> 8: <m:mo> - </m:mo> 9: <m:mfrac> 10: <m:mn> a </m:mn> 11: <m:mn> b </m:mn> 12: </m:mfrac> </m:math>

Step 5 : Change the value of “mfrac” element’s argument as given in the equation. Copy line 6 twice and modifying the same to put a closing and opening parentheses (13 and 14). Further, add lines 15 and 16 by copying and modifying lines 7 and 8 :

1: <m:math display="block"> 2: <m:mi> x </m:mi> 3: <m:mo> = </m:mo> 4: <m:mo> [ </m:mo> 5: <m:mn> 3200 </m:mn> 6: <m:mo> ( </m:mo> 7: <m:mn> 1 </m:mn> 8: <m:mo> - </m:mo> 9: <m:mfrac> 10: <m:mn> 5 </m:mn> 11: <m:mn> 100 </m:mn> 12: </m:mfrac> 13: <m:mo> ) </m:mo> 14: <m:mo> ( </m:mo> 15: <m:mn> 1 </m:mn> 16: <m:mo> + </m:mo> </m:math>

what is a good calculator for all algebra; would a Casio fx 260 work with all algebra equations? please name the cheapest, thanks.
a perfect square v²+2v+_
kkk nice
algebra 2 Inequalities:If equation 2 = 0 it is an open set?
or infinite solutions?
Kim
y=10×
if |A| not equal to 0 and order of A is n prove that adj (adj A = |A|
rolling four fair dice and getting an even number an all four dice
Kristine 2*2*2=8
Differences Between Laspeyres and Paasche Indices
No. 7x -4y is simplified from 4x + (3y + 3x) -7y
is it 3×y ?
J, combine like terms 7x-4y
im not good at math so would this help me
how did I we'll learn this
f(x)= 2|x+5| find f(-6)
Need to simplify the expresin. 3/7 (x+y)-1/7 (x-1)=
. After 3 months on a diet, Lisa had lost 12% of her original weight. She lost 21 pounds. What was Lisa's original weight?
what is nanomaterials​ and their applications of sensors.
what is nano technology
what is system testing?
preparation of nanomaterial
Yes, Nanotechnology has a very fast field of applications and their is always something new to do with it...
what is system testing
can nanotechnology change the direction of the face of the world
At high concentrations (>0.01 M), the relation between absorptivity coefficient and absorbance is no longer linear. This is due to the electrostatic interactions between the quantum dots in close proximity. If the concentration of the solution is high, another effect that is seen is the scattering of light from the large number of quantum dots. This assumption only works at low concentrations of the analyte. Presence of stray light.
the Beer law works very well for dilute solutions but fails for very high concentrations. why?
how did you get the value of 2000N.What calculations are needed to arrive at it
Got questions? Join the online conversation and get instant answers!