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
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
Condition monitoring is a major component of. (clo4) a)- predictive maintenance. b)-preventive maintenance c)-proactive maintenance d)-reactive maintenance.
Answers: 1
question
Engineering, 04.07.2019 18:10
Hydraulic fluid with a sg. of 0.78 is flowing through a 1.5 in. i.d. pipe at 58 gal/min. the fluid has an absolute viscosity of 11.8 x 105 lbf-sec/ft2. is the flow laminar, turbulent or within the critical range? give both a numerical reynolds number and a term answer.
Answers: 3
question
Engineering, 04.07.2019 18:10
The flow rate of air through a through a pipe is 0.02 m5/s. a pitot static tube is placed in the flow. the radius of the pitot static tube is 1 mm. assuming the flow to be steady and the air to be at 300k, calculate the difference in total and static pressure if the diameter of the pipe is: (a) d 0.1 m d 0.05 m (c) d 0.01 m
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
History, 09.03.2021 01:00
question
Mathematics, 09.03.2021 01:00
question
Mathematics, 09.03.2021 01:00
question
Mathematics, 09.03.2021 01:00
question
Mathematics, 09.03.2021 01:00
Questions on the website: 13722363