A Class 11 Mathematics + Physics Project built using Python — explore vectors interactively with dot product, cross product, magnitude, angle, and optional 2D/3D visualization! 🚀
Vector Operations Explorer is a simple and interactive Python project that helps Class 11 students understand and visualize vector mathematics.
This tool allows users to perform:
- Dot Product
- Cross Product
- Magnitude Calculation
- Angle Between Vectors (Radians or Degrees)
- Optional 2D or 3D Vector Plotting
It is built using Python, NumPy, and Matplotlib, making it easy to run and expand.
- ✅ Compute dot product of two vectors
- ✅ Compute cross product (2D & 3D supported)
- ✅ Find magnitude of each vector
- ✅ Calculate angle between vectors
- ✅ Optional 2D/3D visualization using Matplotlib
- ✅ Clean, well-structured Python script
Example (Input vectors: A = [3, 4], B = [-1, 2]):
Vector A: [3. 4.]
Vector B: [-1. 2.]
Magnitude A: 5.000000
Magnitude B: 2.236068
Dot product: 5.000000
Cross product: 10.0
Angle between (in degrees): 63.434949
git clone https://github.com/himalipatil25/vector-operations-explorer.git
pip install numpy matplotlib
python vector_operations_explorer.py --v1 "1,2,3" --v2 "4,5,6" --plot 3d
You can also run silent mode (JSON output):
python vector_operations_explorer.py --v1 "3,4" --v2 "-1,2" --silent
- 🐍 Python 3.x
- 🔢 NumPy (vector math)
- 📊 Matplotlib (optional visualization)
This project helps students understand:
- Vector algebra clearly
- Visualization of spatial vectors
- How Python can solve mathematics problems
- Basics of using external libraries (NumPy + Matplotlib)
Mantra Patil
- 💼 LinkedIn: www.linkedin.com/in/mantrapatil25
- ✉️ Email: [email protected]
Himali Patil
- 📘 Class 11 Science — Maths + Physics Project
- 💼 LinkedIn: www.linkedin.com/in/himalipatil26