Question: Question 3: Ch2 [3 marks] Assume you have two positive numbers you wish to compare, x and y. Each number has p digits. We wish
![Question 3: Ch2 [3 marks] Assume you have two positive numbers](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66e150608af86_20866e1506027de7.jpg)
Question 3: Ch2 [3 marks] Assume you have two positive numbers you wish to compare, x and y. Each number has p digits. We wish to find whether x > y, x Yi E Xi = Yi Hint: The values of Z should be used in your semigroup computation. Example: If p = 8, x = 64967538, y = 85385378 1 2 3 4 5 6 7 8 2 6 4 9 6 7 5 3 8 y 8 5 3 8 5 3 7 8 Z L L G L G L E Define the semigroup operator that will output the correct result, i.e., L or G, or E
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
