WeBWorK Problems

Displaying exact norm of vector in Solution

Displaying exact norm of vector in Solution

by Paul Seeburger -
Number of replies: 1
Hello!

I am having trouble figuring out how to display the exact correct answer to some problems that involve the norms of various vectors.  I am using the Vector MathObject, but every time I display the norm of a vector I get a decimal representation of it.

Is there any way to force this to happen?

I know how to require students to enter exact answers, but this has me stumped.

Thanks!

Paul
In reply to Paul Seeburger

Re: Displaying exact norm of vector in Solution

by Davide Cervone -
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