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 14:10
If the thermal strain developed in polyimide film during deposition is given as 0.0044. assume room temperature is kept at 17.3 c, and thermal coefficient of expansion for the film and the substrate are 54 x 10^-6c^-1 and 3.3 x 10^-6c^-1respectively. calculate the deposition temperature.
Answers: 3
question
Engineering, 04.07.2019 03:10
What precautions should you take to prevent injuries when dealing with heavy loads?
Answers: 1
question
Engineering, 04.07.2019 18:10
At 12 noon, the count in a bacteria culture was 400; at 4: 00 pm the count was 1200 let p(t) denote the bacteria cou population growth law. find: (a) an expression for the bacteria count at any time t (b) the bacteria count at 10 am. (c) the time required for the bacteria count to reach 1800.
Answers: 1
question
Engineering, 04.07.2019 18:10
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
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
Chemistry, 07.12.2020 04:10
question
Mathematics, 07.12.2020 04:10
question
Mathematics, 07.12.2020 04:10
question
Mathematics, 07.12.2020 04:10
Questions on the website: 13722363