Stanton D. answered 02/11/17
Tutor
4.6
(42)
Tutor to Pique Your Sciences Interest
Dear Aa (the lava type??) this is ust a plug-in type problem
(i) returns 0
(ii) returns 1 + mystery(0.2) [0 recursions] = 1 [1 recursion]
(iii) returns 1+ mystery(4,3) [0 recursions] = 2 + mystery(1.3) [1 recursion] = 2 [2 recursions]
I don't understand the designation "[1 mark]", but if it means after 0, 1 , or 2 recursions you should be able to sort it out from the above. You should investigate the properties of this function; it's a form of quantitating integer_round_down(y/x) as integer values, or some such, but without using the division function. -- Regards,Stan de Riel
Aa N.
02/12/17