Write simple initial value problem in a mapleta question

Hi!

I am trying to write a question involving a second order initial value problem. The 2 conditions are

u(0) = $a

du
--(0) = $b
dx

but I am not able to code it correctly. I have tried

...
$eq2=$mathml("(d^2u)/(dx^2)+($mamb)(du)/(dx)+($ab)u=0");
$eq3=maple("printf(MathML:-ExportPresentation(u(0)=$a))");
$eq4=maple("printf(MathML:-ExportPresentation(du/dx(0)=$b))");
...

This works fine for the first condition, but I get

du
---- =
dx(0)

for the second one. Is there a way to get the "(0)" in the right place, either using "$mathml" or "printf"?

Thanks in advance for your help.
Jorge

One possibility.

Does the following give you an adequate display?

maple("printf(MathML:-ExportPresentation(du(0)/dx=b));");

If not, there is some mathml generated by Maple that I edited to give the "usual" form in the attached file.

MathML file

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}