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 18:10
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
question
Engineering, 04.07.2019 18:20
Describe one experiment in which the glass transition temperature and melting temperature of a totally amorphous thermoplastic material can be determined. show the relevant experimental results in a diagram which should be properly annotated with the two temperatures clearly marked. what is likely to happen to the curve in the diagram if the amorphous polymer is replaced by a thermosetting type?
Answers: 2
question
Engineering, 04.07.2019 18:20
An open feedwater heater operates at steady state with liquid entering at inlet 1 with t? = 40°c and pl = 1 .2 mpa. water vapor att2-200°c and p2 = 1.2 mpa enters at inlet 2. saturated liquid water exits with a pressure of pa 1.2 mpa. neglect heat transfer with the surroundings and all kinetic and potential energy effects, determine the mass flow rate of steam at inlet 2 if the mass flow rate of liquid water at inlet 1 is given as 2 kg/s.
Answers: 3
question
Engineering, 04.07.2019 19:20
A21-tooth spur pinion mates with a 28-tooth gear. the diametral pitch is 3 teeth/in and the pressure angle is 20°, find the following values: the addendum, dedendum, circular pitch, tooth thickness, and base circle diameters.
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
Mathematics, 05.11.2020 19:20
question
Biology, 05.11.2020 19:20
question
History, 05.11.2020 19:20
question
English, 05.11.2020 19:30
Questions on the website: 13722359