Explore BrainMass
Share

# Mathematica Problem

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

A) The magnitude of a vector can in general be de&#64257;ne as A = (A.A)^1/2.
Write a function which &#64257;nds the magnitude of a general vector using Mathematica.

b) Using the de&#64257;nition of the dot product A·B = A B cos(&#952;), and your function in part a), write a function to &#64257;nd the angle in degrees between two vectors of equal length of any length. Test this with a couple of examples.

Note: show the answer in PDF format..please use Mathmatica 6 or 5.2.

The function is (e^-(x-a)^2((x-a)^2-(x-a)^3)) the integers 2 and 3 following (x-a) are exponents not coefficients.

© BrainMass Inc. brainmass.com October 24, 2018, 11:18 pm ad1c9bdddf
https://brainmass.com/physics/scalar-and-vector-operations/magnitude-vector-function-189476

#### Solution Summary

Step by step method for solving a problem in mathematica is given in the answer.

\$2.19