Blog
POW – 0.99999 Repeating Equals One?
How can you prove or disprove that 1 = 0.999999…? The answer to this Problem of the Week can be found here.
How can you prove or disprove that 1 = 0.999999…? The answer to this Problem of the Week can be found here.
Did you know that the language can at times dictate the way people view math? The following is a slight modification of a problem given to me by Matt Emschweiler: A children’s math problem was translated by two different people (a mathematician and a literature major) from two distinct ancient Read more…
This is the answer to last week’s Problem of the Week: One thing that I like to do when solving these types of problems is determining what percentage of the work each participant will do. The problem stated that Tasheera takes 16 seconds for each balloon, whereas Omar takes 18 Read more…
A group of friends are preparing for a party. Tasheera and Omar are in charge of preparing the balloons. Tasheera takes eight seconds to inflate each balloon, three seconds to tie each, and a five second break in between each one. Omar takes ten seconds to inflate each balloon, five Read more…
The following is an implementation of a binary search for arrays which gives you the ability to do fuzzy matches (default), exact matches, or specify your own comparison function: I used the following to test the normal execution of this binary function:
This is the answer to last week’s Problem of the Week: Fill the 5.2 gallon bottle. Poor 4 gallons from the 5.2 bottle into to 4 gallon bottle, leaving 1.2 gallons in the 5.2 gallon bottle. Empty the 4 gallon bottle. Poor the remaining 1.2 gallons into the 4 gallon Read more…
You are police officer who just showed up to a crime scene where the instructions for disarming a bomb are left. The bomb is sitting in front of a large fountain of water. Also, two large bottles are near the bomb. One bottle has a capacity of 5.2 gallons while Read more…
The answer to last week’s Problem of the Week is that the following definitions represent the factorial of the given non-negative integer: Mathematical Definition Function Definition Condition unnamed(n) = 1 if n = 0 n × unnamed(n – 1) if n > 0 JavaScript Definition Although it may have been Read more…
This Problem of the Week involves determining the identity of a well-known mathematical function by examining the algorithm used on the input number to produce the output. The function will only accept integers that are greater than or equal to zero. The following is the mathematical definition of the function: Function Definition Condition Read more…
This is the Problem of the Week answer for this post. Part #1 Both Don and Juan and are given a task on which they must work together to complete in a timely fashion. It takes Don 75 minutes to do the job by himself. It takes Juan 60 minutes Read more…