Question: Displaying calculations

I have been using Maple in Document mode to provide documentation of engineering calculations according to various design standards.

I have been asked to provide more detail about certain critical calculations.

Ideally, I would want to enter the formula as a symbolic espression, then the output would begin with and echo of the expression with numberic values substituted for the variable names (ie without performing any mathematical operations), and then give the evaluated answer.

The idea is to provide the reader with the necessary information locally in the document to be able to duplicate the calculation by hand.

It has been suggested to me that I could use print(x,y,z) to list out the values of the variables, but that just dumps out the values in a comma separated list, not a clearly indicating "x=1, y=2, ..."

Is there a way to tweak this using customized typesetting?

Anyone else trying to do something similar?

Tim Rosenberger P.Eng.

Please Wait...