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 12:10
On a average work day more than work place firs are reorted
Answers: 1
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
question
Engineering, 06.07.2019 03:10
What is the direction and how to operate the lathe?
Answers: 2
question
Engineering, 06.07.2019 04:10
Aheat pump using refrigerant-134a heats a house by using underground water at 8°c as the heat source. the house is losing heat at a rate of 60,000 kj/h. the refrigerant enters the compressor at 280 kpa and 0°c, and it leaves at 1 mpa and 60°c. the refrigerant exits the condenser at 30°c. determine: (a) the power input to the heat pump, (b) the rate of heat absorption from the water, and (c) the increase in electric power input if an electric resistance heater is used instead of a heat pump
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
Mathematics, 07.01.2021 22:20
question
Mathematics, 07.01.2021 22:20
question
Mathematics, 07.01.2021 22:20
question
Mathematics, 07.01.2021 22:20
question
Mathematics, 07.01.2021 22:20
question
Mathematics, 07.01.2021 22:20
Questions on the website: 13722363