I made a quick port of Mathomatic to the DS. This is an algebra tool, simplifies, solves equations, et cetera. It’s still not as cool as the dslinux version, since the default libnds console doesn’t have color. But it has the advantage of being easy to start up and use.
Download MathomaticDS (includes sourcecode)