sampah03

4 Reputation

2 Badges

18 years, 202 days

MaplePrimes Activity


These are questions asked by sampah03

I want to generate MathML code. I'm using Maple 9.5. However I want the generated code not to evaluate the expression. For example:

> codegen[MathML](5^4);
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<semantics>
<mn xref='id1'>625</mn>
<annotation-xml encoding='MathML-Content'>
<cn id='id1' type='integer'>625</cn>
</annotation-xml>
<annotation encoding='Maple'>625</annotation>
</semantics>
</math>

while what I want is:

<math xmlns='http://www.w3.org/1998/Math/MathML'>
<semantics>
<mrow xref='id3'>
<msup>
<mi xref='id1'>5</mi>
Page 1 of 1