Answered step by step
Verified Expert Solution
Question
1 Approved Answer
### 1 . Magnitude & Direction of Vector Write a function m - file to find the magnitude and the direction of cosine of vector
### Magnitude & Direction of Vector
Write a function mfile to find the magnitude and the direction of cosine of vector F which expresses dimension $x$ $y$ and $z$ Here are requirements for the function mfile.
Parameterlist inputs:
dimensional vector
row vector or column vector undetermined
Return Value outputs:
Magnitude of a given vector $mathbfvecFsqrtFxFyFz$
Anglesradian from direction of cosine $cosalphafracFxmathbfvecFcosbetafracFymathbfvecFcosgammafracFzmathbfvecF$
Order of outputs : $Magnitudealpha beta gamma $
Function name : MagVecyourEmailAccount
Using a script mfile which will call the MagVecyourEmailAccount function, save outputs with following given inputs.
If the given vector is $mathbfFhatihatjhatk$ find the outputs of your MagVecyourEmailAccount function. Then save the return values on EXdat
If the given vector is $mathbfFhatihatk$ find the outputs of your MagVecyourEmailAccount function. Then save the return values on EXdat
If the given vector is $mathbfFhatihatj$ find the outputs of your MagVecyourEmailAccount function. Then save the return values on EXdat
If the given vector is $mathbfFhatjhatk$ find the outputs of your MagVecyourEmailAccount function. Then save the return values on EXdat
If the given vector is $mathbfFhatihatjhatk$ find the outputs of your MagVecyourEmailAccount function. Then save the return values on EXdat
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started