subject
Engineering, 26.02.2020 01:55 shanekamayo9900

Question sc8.4 (A2) Write an algorithm which will take as inputs a, b and c, all integers (not necessarily positive) and will find the minimal distance between them. That is, it will find which two are closest together, and will tell us how far apart they are. (So for a = −3, b = 1, and c = −5, it would return ‘2’ because a and c are 2 apart, and no pair of them are closer than that.)

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
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:10
Which of the following refers to refers to how well the control system responds to sudden changes in the system. a)-transient regulation b)- distributed regulation c)-constant regulation d)-steady-state regulation
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
You know the right answer?
Question sc8.4 (A2) Write an algorithm which will take as inputs a, b and c, all integers (not neces...
Questions
question
Biology, 05.05.2020 11:17
question
Social Studies, 05.05.2020 11:17
question
History, 05.05.2020 11:17
question
Biology, 05.05.2020 11:17
question
Mathematics, 05.05.2020 11:17
question
History, 05.05.2020 11:17
Questions on the website: 13722367