# 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>

How we are making nano material?
what is a peer
What is meant by 'nano scale'?
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
what is Nano technology ?
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
Is there any normative that regulates the use of silver nanoparticles?
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
why we need to study biomolecules, molecular biology in nanotechnology?
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
why?
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
anyone know any internet site where one can find nanotechnology papers?
research.net
kanaga
sciencedirect big data base
Ernesto
Introduction about quantum dots in nanotechnology
what does nano mean?
nano basically means 10^(-9). nanometer is a unit to measure length.
Bharti
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
absolutely yes
Daniel
how to know photocatalytic properties of tio2 nanoparticles...what to do now
it is a goid question and i want to know the answer as well
Maciej
Abigail
for teaching engĺish at school how nano technology help us
Anassong
How can I make nanorobot?
Lily
Do somebody tell me a best nano engineering book for beginners?
there is no specific books for beginners but there is book called principle of nanotechnology
NANO
how can I make nanorobot?
Lily
what is fullerene does it is used to make bukky balls
are you nano engineer ?
s.
fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.
Tarell
what is the actual application of fullerenes nowadays?
Damian
That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.
Tarell
what is the Synthesis, properties,and applications of carbon nano chemistry
Mostly, they use nano carbon for electronics and for materials to be strengthened.
Virgil
is Bucky paper clear?
CYNTHIA
carbon nanotubes has various application in fuel cells membrane, current research on cancer drug,and in electronics MEMS and NEMS etc
NANO
Got questions? Join the online conversation and get instant answers!   By By By  By   By Rhodes