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, 03.07.2019 19:30
When using the ohmmeter function of a digital multimeter, the leads are placed in what position relative to the component being tested? a. parallel b. control c. series d. line
Answers: 3
question
Engineering, 04.07.2019 18:10
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
question
Engineering, 04.07.2019 18:10
Water at the rate of 1 kg/s is forced through a tube with a 2.5 cm inner diameter. the inlet water temperature is 15°c, and the outlet water temperature is 50°c. the tube wall temperature is 14°c higher than the local water temperature all along the length of the tube. what is the length of the tube?
Answers: 3
question
Engineering, 04.07.2019 18:20
Find the kinematic pressure of 160kpa. for air, r-287 j/ kg k. and hair al viscosity of air at a temperature of 50°c and an absolute (10 points) (b) find the dynamic viscosity of air at 110 °c. sutherland constant for air is 111k
Answers: 3
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, 30.06.2019 02:00
question
Mathematics, 30.06.2019 02:00
question
Mathematics, 30.06.2019 02:00