Skip to main content
7-Bedrock
May 13, 2022
Solved

Vector

  • May 13, 2022
  • 2 replies
  • 2107 views

When I try to calculate the cross product of two three element vectors I get an error message on the first vector

"This value must be a 3-element vector".  I am using Mathcad Prime 8.0.0.0. I have tried the same thing on 7.0.0.0. I have changed the vector and matrix index Origin to from 0 to 1. 

Jack Smith, Katy TX

 

`

Best answer by terryhendicott

Hi,

Vectors are matrices with one column and many rows.

Supplied to the cross product in your sheet are row matrices with one row and many columns,

Simply transpose the inputs.

Capture.JPG

Cheers

Terry

2 replies

21-Topaz II
May 14, 2022

Hi,

Vectors are matrices with one column and many rows.

Supplied to the cross product in your sheet are row matrices with one row and many columns,

Simply transpose the inputs.

Capture.JPG

Cheers

Terry

Tooljoint7-BedrockAuthor
7-Bedrock
May 14, 2022

Terry, Many thanks for the answer to my question and also for the surreptitious tip on converting the single row, many column matrix that doesn't take a lot of space to the single column many row matrix.

Jack