Add some println() statements to the fallingDistance() method to see what the value of the fallingTime arg it receives is and the value of d that it returns.
The print out should help you see what...