subject
Engineering, 03.12.2019 18:31 trintrin227

Write a user-defined matlab function that determines the unit vector in the direction of the line that connects two points (a and b) in space. for the function name and arguments, use n=unitvec(a, b). the input to the function are two vectors a and b, each with cartesian coordinates of the corresponding point. the output is a vector with components of the unit vector in the direction from a to b. if points a and b have two coordinates each, then n is a two-element vector. if points a and b have three coordinates each, then n is a three-element vector. use the function to determine the following unit vectors: a. in the direction from point (1.2, 3.5) to point (12,15) b. in the direction from point (-10, -4, 2.5) to point (-13, 6, -5)

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
An air conditioning system consist of a 5 cm diameter pipe, operating at a pressure of 200 kpa. the air initially enters the pipe at 15°c with a velocity of 20 m/s and relative humidity of 80%. if the heat supply throughout the process is 960 w, determine the relative humidity and the temperature at the outlet
Answers: 3
question
Engineering, 04.07.2019 18:10
Adouble-strand no. 60 roller chain is used to transmit power between a 13-tooth driving sprocket rotating at 300 rev/min and a 52-tooth driven sprocket. a) what is the allowable horsepower of this drive? b) estimate the center-to-center distance if the chain length is 82 pitches. c) estimate the torque and bending force on the driving shaft by the chain if the actual horsepower transmitted is 30 percent less than the corrected (allowable) power.
Answers: 3
question
Engineering, 04.07.2019 18:10
The drive force for diffusion is 7 fick's first law can be used to solve the non-steady state diffusion. a)-true b)-false
Answers: 1
question
Engineering, 04.07.2019 18:10
True or false (explain) (110)[111] is a slip system in bcc metals . the {111} family in fcc contains 8 planes. resolved shear stress (rss) in single crystals is just related to the applied stress. critical resolved shear stress (crss) in single crystal metals is direct proportional to the number of defects in the structure
Answers: 2
You know the right answer?
Write a user-defined matlab function that determines the unit vector in the direction of the line th...
Questions
question
Mathematics, 26.02.2021 17:10
question
Mathematics, 26.02.2021 17:10
question
Mathematics, 26.02.2021 17:10
question
Mathematics, 26.02.2021 17:10
Questions on the website: 13722360