If I set vectors to be displayed in ijk form by using:
$context = Context("Vector");
Then if I try to compute the cross product of two vectors by:
$a = Vector("1 i + 2 j +3 k");
$b = Vector("4 i + 5 j + 6 k");
$a_cross_b = Compute("$a >< $b");
I get the following error:
I get an Operands of '*' are not of compatible types;
Is there anything I can do to solve this?
Also - the resulting $a_cross_b object when displayed in the "correct"
box isn't the calculated cross produce - the "><" operator is
still present. Is there a way to have it display as the calculated
value in the "correct" box?
(Sorry, I am not working with the most up to date version of Webwork. I
hopefully will be soon but at the moment it is beyond my control)
<| Post or View Comments |>