Search 75,682 tutors

Jeffrey K.'s Resources


What is infinity?

Infinity is a term with which most people are familiar, but few truly understand. Infinity is not an actual value, like the number 3 -- it is an abstract concept. In math terms, it is used as a "limit", where a value can approach infinity by getting continuously larger, but it will never actually get there. Consider the act of cutting a pizza into slices. You can cut it in half, then... read more


Private, Public, Const, and Static



Structs versus Classes

A struct is a datatype from the C programming language that encapsulates a number of different datatypes into a single object. This can be used to easily handle a set of values as a single "package", while also being able to access the individual members of the structure. One example of this may be a ContactInfo structure that contains a person's first name, last name, e-mail address,... read more


Pythagorean Triples

Here's an interesting math fact: the sum of any sequence of odd numbers from 1 to n is always a perfect square. 1 = 1 1+3 = 4 1+3+5 = 9 1+3+5+7 = 16 1+3+5+7+9 = 25 1+3+5+7+9+11 = 36 etc. The sum is actually the square of (n+1)/2. --------- What this also means is that every odd number can be... read more


Math Trick -- Impress Your Friends

Think of a number. Any number at all... between 10 and one billion. Now, since that number has at least two digits, add up all of the digits, and subtract that sum from your original number. Next, add up all of the digits of the number you just got after that subtraction, to get another new number. And then do it again with THAT number (if you have only a one-digit number, you would just... read more


Fear Factor? Never Fear Factoring Again!

I'm about to share a secret with you that can instantly reduce the amount of time spent on math tests and homework where you need to find the greatest common factor (GCF) of two whole numbers, such as when reducing fractions to simplest form. This is a methodology/short-cut that I came up with long ago, but never saw described in any textbook, much to my surprise. The basic idea is actually... read more