George H.

asked • 07/09/14

This is a question of floors and logarithms and bases and cabbages and kings and why the sea is boiling hot and whether pigs have wings.

Ok the literary reference is possibly not part of this question. 
Is there a function to make x into the highest multiple of 8 the is lower than or equal to x? For instance, 13 would become 8, because 8 is the largest multiple of 8 less than or equal to 13. 8, 9, 10, 11, 12, 14, and 15 would also go to 8. 16-23 would go to 16, because 16 is the largest multiple of 8 less than or equal to those numbers. the graph is very odd, as you can imagine, but is the some sort of logarithm function or flooring function that you can use to do this? Again that is a function that turns x into the largest multiple of 8 which is less than or equal to x. for numbers less than 8, I consider 0 a multiple of 8. Thank you.
 
-- George

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.