subject
Engineering, 25.02.2020 16:43 someone2301

Write a user-defined MATLAB function that determines the unitvector in the direction of the line that connects two points (A andB) in space. For the function name and arguments use "n =unitvec(A, B). The input to the function are two vectors A andB, each of which has three elements which are the Cartesiancoordinates of the corresponding point. The ouput is a vectorwith the three components of the unit vector in the direction fromA to B. Use the function to determine the following unitvectors:
(a) In the direction from point (1.5,2.1,4) to point(11,15,9).
(b) In the direction from point (-11,3,-2) to point(-13,-4,-5).
(c) In the direction from point (1,0,1) to point (0,1,1).

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 16:10
The force on a cutting tool are 2600n vertically downward and 2100 horizontal. determine the resultant force acting on the tool and the angle at which it acts.
Answers: 1
question
Engineering, 04.07.2019 18:10
An ideal otto cycle with air as the working fluid has a compression ratio of 8. the minimum and maximum temperatures in the cycle are 300 k and 1340 k. use constant specific heats at room temperature to determine (a) the amount of heat transferred to the air during the heat- addition kj/kg, (b) the thermal efficiency, and (c) the thermal efficiency of a carnot cycle ope limits. process, in rating between the same temperature
Answers: 2
question
Engineering, 04.07.2019 18:20
Ahe-xe mixture containing a 0.75 mole fraction of helium is used for cooling electronics in an avionics application. at a temperature of 300 k and atmospheric pressure, calculate the mass fraction of helium and the mass density, molar concentration and molecular weight of the mixture. if the cooling capacity is 10 l, what is the mass of the coolant?
Answers: 3
question
Engineering, 04.07.2019 19:10
Which of the following is the most important advantage of a large field of view? a. allows larger areas to be examined b. relieves eyestrain c. minimizes parallax errors. d. increases precision in proportion to the in- crease in field of view
Answers: 2
You know the right answer?
Write a user-defined MATLAB function that determines the unitvector in the direction of the line tha...
Questions
question
History, 03.04.2020 07:34
Questions on the website: 13722363