subject
Engineering, 21.04.2020 04:24 gehdmoe2

Use the Euclidean Algorithm, as presented in Algorithm 1 page 269, to find the gcd of the numbers 294 and 350. Which one of the answer choices below shows a correct application of the algorithm? The answers list all changes in assignments to variable as the algorithm is executed and then give the output as specified in the non-executed comment.

A) x:= 294, y:= 350
r:= 294, x:= 350, y:= 294
r:= 56, x:= 294, y:= 56
r:= 14, x:= 56, y:= 14
r:= 0, x:=14, y:= 0
gcd(294, 350) = 14

B)x:= 350, y:= 294
r:= 56, x:= 350, y:= 56
r:= 14, x:= 56, y:= 14
r:= 0, x:=14, y:= 0
gcd(350, 294) = 14

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 15:10
Ahouse has the following electrical appliance usage (1) single 40w lamp used for 4 hours per day (2) single 60w fan used for 12 hours per day (3) single 200w refrigerator that runs 24 hours per day with compressor run 12 hours and off 12 hours find the solar power inverter size in watt with correction factor of 1.25.
Answers: 1
question
Engineering, 03.07.2019 23:20
Two technicians are discussing the intake air temperature (iat) sensor. technician a says that the computer uses the iat sensor as a backup to the engine coolant temperature (ect) sensor. technician b says that the powertrain control module (pcm) will subtract the calculated amount of fuel if the air measures hot. who is correct
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
Slip occurs via two partial dislocations because of (a) the shorter path of the partial dislocation lines; (b) the lower energy state through partial dislocations; (c) the charge balance.
Answers: 1
You know the right answer?
Use the Euclidean Algorithm, as presented in Algorithm 1 page 269, to find the gcd of the numbers 29...
Questions
question
World Languages, 09.11.2020 15:30
question
Mathematics, 09.11.2020 15:30
Questions on the website: 13722367