formula_base = JSBML.readMathMLFromString("<math xmlns=\"http://www.w3.org/1998/Math/MathML\"> \n"
+ " <notanumber/>\n" + "</math>\n");
System.out.println("\nNaN formula = " + formula_base.toFormula());
System.out.println("NaN formula = " + formula_base.toMathML());
System.out.println("NaN formula = " + formula_base.toLaTeX());
System.out.println("NaN formula = " + formula_base.toString());
formula_base = JSBML.readMathMLFromString("<math xmlns=\"http://www.w3.org/1998/Math/MathML\"> \n"
+ " <infinity/>\n" + "</math>\n");