- #1

assumes |x|*|z|<>0

xonz=(scalar_product(z,x)/(|x|*|z|))*z;

y=x-xonz;

assumes |x|<>0

result=cos(alpha)*x+sin(aplha)*(|y|/|x|)*y;

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter ddr
- Start date

- #1

assumes |x|*|z|<>0

xonz=(scalar_product(z,x)/(|x|*|z|))*z;

y=x-xonz;

assumes |x|<>0

result=cos(alpha)*x+sin(aplha)*(|y|/|x|)*y;

- #2

actually y=croos_vector(z,(x-xonz))/|x-xonz|^2

- #3

arcnets

- 508

- 0

Not quite. I should say:

answer = x_{onz} + y cos [alpha] + z/|z| X y sin [alpha].

Where X means vector product. And y = x - x_{onz}.

Note: There should be a simpler form to this. Try yourself, please!

answer = x

Where X means vector product. And y = x - x

Note: There should be a simpler form to this. Try yourself, please!

Last edited:

Share:

- Last Post

- Replies
- 2

- Views
- 694

- Replies
- 7

- Views
- 189

- Last Post

- Replies
- 1

- Views
- 517

- Last Post

- Replies
- 0

- Views
- 281

- Last Post

- Replies
- 3

- Views
- 409

MHB
Vector question

- Last Post

- Replies
- 1

- Views
- 437

- Replies
- 7

- Views
- 270

- Replies
- 8

- Views
- 175

- Last Post

- Replies
- 4

- Views
- 521

- Last Post

- Replies
- 10

- Views
- 718