Blake O'Hare .com

Tag: Math

How to determine where a line intersects a plane
Posted 6.2 years ago.
Suppose you have a line defined by two 3-dimensional points and a plane defined by three 3-dimension...
Python Script to Detect a Repeating Decimal
Posted 6.2 years ago.
Remember doing long division as a 2nd grader? And if you found that the decimal started to repeat, y...
10,000 Digits of e
Posted 6.3 years ago.
e = 2.7182818284 5904523536 0287471352 6624977572 4709369995 9574966967 6277240766 3035354759 457138...
Calculating Base 10 Logarithms in Your Head
Posted 7 years ago.
Calculating base 10 logarithms in your head on the fly is a lot easier than you may think. It is sim...
Checking a Number for Primeness
Posted 7 years ago.
The Pen-and-Paperless version! The following is roughly my thought processes when I try to check to ...
Typing Pi Game
Posted 7 years ago.
Type pi as fast as you can!Click in the text box below and start typing pi. Can you beat Blake? Ty...
Divisibility Rules for Arbitrary Divisors
Posted 7 years ago.
It's rather obvious when a number is divisible by 2 or 5, and some of you probably know how to tell ...
10,000 Digits of Pi
Posted 7 years ago.
= 3. 1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 862803...
Counting Terminating Zeros in a Factorial
Posted 7 years ago.
Ever notice how large factorials always end in a ton of zeros? If not, take a look at 999 Factorial ...
Determining if a Point is in a Triangle
Posted 7 years ago.
Suppose you have 3 points in 2D space that represent a triangle. Now suppose you have another point ...
Converting Repeating Decimals Into Fractions
Posted 7 years ago.
It's fairly easy to take a fraction and turn it into a repeating decimal by hand. This is simple div...