Generating latex from expressions

Maple has a latex function that can generate latex from a maple expression. This feature can be very useful in Maple T.A..
To generate latex from your expression you can use the following code in your algorithm section.
$expr=maple("printf(latex(sin(x)/x^2, output = string))");
This results in
To use the latex in your question text you need to wrap it in the latex delimiters.
What is the differential of \( $expr \) ?
The result will be