Maxima version of quad.c program and image