I noticed that "keepfloat: true" does not get always get honoured by maxima. A symptom:
sage: integrate(cos(1.17*x),x) 0.854700854701*sin(1.17*x) (works as expected) sage: S=integrate(cos(1.17*x^2),x) sage: S -1/156*((5*I + 5)*sqrt(2)*sqrt(13)*erf((3/20*I - 3/20)*sqrt(2)*sqrt(13)*x) + (5*I - 5)*sqrt(2)*sqrt(13)*erf((3/20*I + 3/20)*sqrt(2)*sqrt(13)*x))*sqrt(pi) (surprise!) Incidentally, sage: S.operands()[0].operands()[0].operands()[3].pyobject() 5*I + 5 sage: type(S.operands()[0].operands()[0].operands()[3].pyobject()) <type 'sage.rings.number_field.number_field_element_quadratic.NumberFieldElement_quadratic'> Isn't this a bit strange? A constant like sqrt(2) in SR is not represented as a quadratic number. Why is I special? -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
