The function gives the largest integer that is less than or equal to C. For example: , , , , .
Consider the following algorithm:
Apply the algorithm using the inputs and . Record the values of , , , , , and every time they change. Record the output each time line 60 is reached.
Show what happens when the input values are and .
Input the sum of all values of outputted in part .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The mark scheme for this question:
Large Version