Math, asked by s15216amohammad25255, 7 hours ago

The figure shows a number crunching machine in which any integer can be
fed as input. There are a set of instructions which produces output as follows:

If a positive integer is fed into the number crunching machine, it produces one of
two results:
 If the integer fed in is EVEN, the machine divides the number by 2.
 If the integer fed in is ODD, the machine subtracts one from the number.
If a negative integer is fed into the number crunching machine, it produces its
additive inverse.
1.1. Find the result when the following numbers are fed into the machine:
(i)123
(a) 122 (b) 123 (c) 124 (d) 125
(ii) -72
(a) -72 (b) -36 (c) 36 (d) 72
1.2. What can be the input to the machine if the output is 18?
(a) 36 (b) 19 (c) -18 (d) All of the above
1.3. It is possible to feed the output from the machine back into the input, and
continue to do so until the output reaches zero. For example, with an initial
input of 11, the following would occur:
11 10 5 4 2 1 0
We see that 6 steps are required to reach zero.
Give the number of steps required to reach zero if you start with -24. Show
the steps.

Answers

Answered by singhbros84
0

Answer:

I don't knowwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww

Similar questions