Click here for the answer
The simplest thing is to change the ``2'' and the ``1'' in the body of thefunction to ``2.0'' and ``1.0'' respectively. Alternatively, you couldsurround the body of the function with a call to N.