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

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
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
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
so some one know about replacing silicon atom with phosphorous in semiconductors device?
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Harper
Do you know which machine is used to that process?
s.
how to fabricate graphene ink ?
for screen printed electrodes ?
SUYASH
What is lattice structure?
of graphene you mean?
Ebrahim
or in general
Ebrahim
in general
s.
Graphene has a hexagonal structure
tahir
On having this app for quite a bit time, Haven't realised there's a chat room in it.
Cied
what is biological synthesis of nanoparticles
what's the easiest and fastest way to the synthesize AgNP?
China
Cied
types of nano material
I start with an easy one. carbon nanotubes woven into a long filament like a string
Porter
many many of nanotubes
Porter
what is the k.e before it land
Yasmin
what is the function of carbon nanotubes?
Cesar
I'm interested in nanotube
Uday
what is nanomaterials​ and their applications of sensors.
what is nano technology
what is system testing?
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!