<< Chapter < Page Chapter >> Page >

The eq operator is used to write equations. It is used in the same way as any other operator. That is, itis the first child of an apply. It takes two (or more) children which are the two quantities that are equal to eachother. For example, " a times b plus a times c equals a times the quantity b plus c " would be written as shown. <m:math> <m:apply> <m:eq/> <m:apply> <m:plus/> <m:apply> <m:times/> <m:ci>a</m:ci> <m:ci>b</m:ci> </m:apply> <m:apply> <m:times/> <m:ci>a</m:ci> <m:ci>c</m:ci> </m:apply> </m:apply> <m:apply> <m:times/> <m:ci>a</m:ci> <m:apply> <m:plus/> <m:ci>b</m:ci> <m:ci>c</m:ci> </m:apply> </m:apply> </m:apply> </m:math> This will display as a b a c a b c .

Integrals

The operator for an integral is int . However, unlike the operators and functions discussed above, it haschildren that define the independent variable that you integrate with respect to ( bvar ) and the interval over which the integral is taken (use either lowlimit and uplimit , or interval , or condition ). lowlimit and uplimit (which go together), interval , and condition are just three different ways of denoting the integrands. Don't forget that the bvar, lowlimit , uplimit , interval , and condition children take token elements as well. The following is "the integral of f of x with respect to x from 0 to b ." <m:math> <m:apply> <m:int/> <m:bvar><m:ci>x</m:ci></m:bvar> <m:lowlimit><m:cn>0</m:cn></m:lowlimit> <m:uplimit><m:ci>b</m:ci></m:uplimit> <m:apply> <m:ci type='fn'>f</m:ci> <m:ci>x</m:ci> </m:apply> </m:apply> </m:math> This will display as x 0 b f x .

Derivatives

The derivative operator is diff . The derivative is done in much the same way as the integral. That is, youneed to define a base variable (using bvar ). The following is "the derivative of the function f of x , with respect to x ." <m:math> <m:apply> <m:diff/> <m:bvar> <m:ci>x</m:ci> </m:bvar> <m:apply> <m:ci type="fn">f</m:ci> <m:ci>x</m:ci> </m:apply> </m:apply> </m:math> This will display as x f x .

To apply a higher level derivative to a function, add a degree tag inside of the bvar tag. The degree tag will contain the order of the derivative. Thefollowing shows "the second derivative of the function f of x , with respect to x ." <m:math> <m:apply> <m:diff/> <m:bvar> <m:ci>x</m:ci> <m:degree><m:cn>2</m:cn></m:degree> </m:bvar> <m:apply><m:ci type="fn">f</m:ci> <m:ci>x</m:ci> </m:apply> </m:apply> </m:math> This will display as x 2 f x .

Vector and matrices

Vectors are created as a combination of other elements using the vector tag. <m:math> <m:vector> <m:apply> <m:plus/> <m:ci>x</m:ci> <m:ci>y</m:ci> </m:apply> <m:ci>z</m:ci> <m:cn>0</m:cn> </m:vector> </m:math> This will display as x y z 0 .

Matrices are done in a similar manner. Each matrix element contains several matrixrow elements. Then each matrixrow element contains several other elements. <m:math> <m:matrix> <m:matrixrow> <m:ci>a</m:ci> <m:ci>b</m:ci> <m:ci>c</m:ci> </m:matrixrow> <m:matrixrow> <m:ci>d</m:ci> <m:ci>e</m:ci> <m:ci>f</m:ci> </m:matrixrow> <m:matrixrow> <m:ci>g</m:ci> <m:ci>h</m:ci> <m:ci>j</m:ci> </m:matrixrow> </m:matrix> </m:math> This will display as a b c d e f g h j .

There are also operators to take the determinant and the transpose of a matrix as well as to select elements fromwithin the matrix.

Entities

The use of MathML character entity references in Connexions content is deprecated .

MathML defines its own entities for many special characters used in mathematical notation. While the entity references have the advantage of being mnemonic with respect to the characters they stand for, they also entail some technical limitations, and so their use in Connexions content is deprecated. Please use the UTF-8-encoded Unicode characters themselves where possible, or, failing that, the XML Unicode character references for the characters. At some time in the future, the Connexions repository system will likely convert entity references and character references silently to the UTF-8-encoded Unicode characters they stand for. See 6.2.1 Unicode Character Data from the XML Specification for more information. The MathML specification contains a list of character entities with their corresponding Unicode code points .

There are character picker utilities available to help you select and paste UTF-8 characters into applications like Connexions. If you are running Microsoft Windows, the Windows accessory Character Map can help you. The "Lucida Sans Unicode" font seems to have a good selection of mathematical operators and special characters. Under Linux, the charmap utility and GNOME applet provide access to all Unicode characters.

Other resources

There is a lot more that can be done with Content MathML. Especially if you are planning on writing a lot of ContentMathML, it is well worth your time to take a look at the MathML specification .

Questions & Answers

A golfer on a fairway is 70 m away from the green, which sits below the level of the fairway by 20 m. If the golfer hits the ball at an angle of 40° with an initial speed of 20 m/s, how close to the green does she come?
Aislinn Reply
cm
tijani
what is titration
John Reply
what is physics
Siyaka Reply
A mouse of mass 200 g falls 100 m down a vertical mine shaft and lands at the bottom with a speed of 8.0 m/s. During its fall, how much work is done on the mouse by air resistance
Jude Reply
Can you compute that for me. Ty
Jude
what is the dimension formula of energy?
David Reply
what is viscosity?
David
what is inorganic
emma Reply
what is chemistry
Youesf Reply
what is inorganic
emma
Chemistry is a branch of science that deals with the study of matter,it composition,it structure and the changes it undergoes
Adjei
please, I'm a physics student and I need help in physics
Adjanou
chemistry could also be understood like the sexual attraction/repulsion of the male and female elements. the reaction varies depending on the energy differences of each given gender. + masculine -female.
Pedro
A ball is thrown straight up.it passes a 2.0m high window 7.50 m off the ground on it path up and takes 1.30 s to go past the window.what was the ball initial velocity
Krampah Reply
2. A sled plus passenger with total mass 50 kg is pulled 20 m across the snow (0.20) at constant velocity by a force directed 25° above the horizontal. Calculate (a) the work of the applied force, (b) the work of friction, and (c) the total work.
Sahid Reply
you have been hired as an espert witness in a court case involving an automobile accident. the accident involved car A of mass 1500kg which crashed into stationary car B of mass 1100kg. the driver of car A applied his brakes 15 m before he skidded and crashed into car B. after the collision, car A s
Samuel Reply
can someone explain to me, an ignorant high school student, why the trend of the graph doesn't follow the fact that the higher frequency a sound wave is, the more power it is, hence, making me think the phons output would follow this general trend?
Joseph Reply
Nevermind i just realied that the graph is the phons output for a person with normal hearing and not just the phons output of the sound waves power, I should read the entire thing next time
Joseph
Follow up question, does anyone know where I can find a graph that accuretly depicts the actual relative "power" output of sound over its frequency instead of just humans hearing
Joseph
"Generation of electrical energy from sound energy | IEEE Conference Publication | IEEE Xplore" ***ieeexplore.ieee.org/document/7150687?reload=true
Ryan
what's motion
Maurice Reply
what are the types of wave
Maurice
answer
Magreth
progressive wave
Magreth
hello friend how are you
Muhammad Reply
fine, how about you?
Mohammed
hi
Mujahid
A string is 3.00 m long with a mass of 5.00 g. The string is held taut with a tension of 500.00 N applied to the string. A pulse is sent down the string. How long does it take the pulse to travel the 3.00 m of the string?
yasuo Reply
Who can show me the full solution in this problem?
Reofrir Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Cnxml tutorial. OpenStax CNX. Jul 08, 2009 Download for free at http://cnx.org/content/col10121/1.10
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Cnxml tutorial' conversation and receive update notifications?

Ask