Can you provide more of the problem in which this is to be used? There are several approaches, but I can't tell which is best without seeing the code of the problem.
Davide
WeBWorK Problems
Displaying exact norm of vector in Solution
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day