- C++ Game Development By Example
- Siddharth Shekar
- 170字
- 2021-06-24 14:26:15
Vector magnitude
The magnitude of the vector is equal to the length of the vector itself,. But how do we calculate it mathematically? .
The magnitude of a vector is given by the Pythagorean theorem, which specifies that in a right triangle , the square of length of a diagonal is equal to the sum of the squares of the adjacent sides. So when we look at the right triangle as follows, c2 = x2 + y2.

This can be extended to three dimensions with c2 = x2 + y2 + z2.
Magnitudes of vectors are indicated by double vertical bars, so the magnitude of a
vector is denoted by
. The magnitude is always greater than or equal to zero.
So, if vector A = (X, Y, Z) then the magnitude is given by the following equation:

If = (3, -5, 7), Then:

= 9.110
The vector is therefore 9.11 units long
- 新媒體跨界交互設計
- Cortex-M3 + μC/OS-II嵌入式系統開發入門與應用
- 電腦常見故障現場處理
- INSTANT ForgedUI Starter
- 電腦維護365問
- The Deep Learning with Keras Workshop
- 微軟互聯網信息服務(IIS)最佳實踐 (微軟技術開發者叢書)
- Visual Media Processing Using Matlab Beginner's Guide
- 固態存儲:原理、架構與數據安全
- LPC1100系列處理器原理及應用
- “硬”核:硬件產品成功密碼
- Hands-On Motion Graphics with Adobe After Effects CC
- WebGL Hotshot
- Arduino項目開發:智能生活
- 可編程邏輯器件項目開發設計