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
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
question
Engineering, 04.07.2019 18:20
Inadequate stores control is not an obstacle to effective work order system. (clo4) a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 19:10
Acircular aluminum shaft mounted in a journal is shown. the symmetric clearance gap between the shaft and journal is filled with sae 10w-30 oil at t 30°c. the shaft is caused to turn by the attached mass and cord. develop and solve a differential equation for the angular speed of the shaft as a function of time.
Answers: 2
question
Engineering, 06.07.2019 03:10
Tom is having a problem with his washing machine. he notices that the machine vibrates violently at a frequency of 1500 rpm due to an unknown rotating unbalance. the machine is mounted on 4 springs each having a stiffness of 10 kn/m. tom wishes to add an undamped vibration absorber attached by a spring under the machine the machine working frequency ranges between 800 rpm to 2000 rpm and its total mass while loaded is assumed to be 80 kg. a) what should be the mass of the absorber added to the machine so that the natural frequency falls outside the working range? b) after a first trial of an absorber using a mass of 35 kg, the amplitude of the oscillation was found to be 10 cm. what is the value of the rotating unbalance? c) using me-3.5 kg.m, find the optimal absorber (by minimizing its mass). what would be the amplitude of the oscillation of the absorber?
Answers: 1
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
Business, 24.02.2021 01:30
question
Mathematics, 24.02.2021 01:30
question
Mathematics, 24.02.2021 01:30
question
English, 24.02.2021 01:30
question
Business, 24.02.2021 01:30
question
Mathematics, 24.02.2021 01:30
Questions on the website: 13722360