Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Mathematical vectors, operations on vectors and vectorized programming.
7
votes
1
answer
1k
views
How to use DSolve with vectors without decomposing into vector components?
Given a basic, two-dimensional ballistic trajectory problem, I can solve the equations of motion using DSolve (or NDSolve) by decomposing the vector equations of motion into equations with the scalar components …
5
votes
Doing vector manipulations on Mathematica
+ (1/2) (v1.v2)/(Norm[v1] Norm[v2])
use it to evaluate for any two vectors
f2[q1, q2]
(* 5/7 + (8 Sqrt[2/11])/7 *)
then square it if you wish
f2[q1, q2]^2
If you want to work with generalized vector … components and know the dimensions of each vector, use for example
q1 = {x1, y1, z1}
q2 = {x2, y2, z2}
f2[q1, q2] …