Skip to main content
7-Bedrock
May 13, 2022 11:46 PM UTC
Solved

Vector

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

 

`

terryhendicott
21-Topaz II
May 14, 2022 1:07 AM UTC

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

terryhendicott
21-Topaz II
May 14, 2022 1:07 AM UTC

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

Translate
Tooljoint7-BedrockAuthor
7-Bedrock
May 14, 2022 1:26 AM UTC

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

Translate