Saliya's Blogs

Mostly technical stuff with some interesting moments of life

How to Compute The Sum of Squares for First N Integers

No comments
We need to find,
clip_image002[7]
answer 
clip_image002[47]
How to get that?
Let’s consider the expansion of clip_image002[9]
clip_image002[11]
Therefore,
clip_image002[13]
Now let’s substitute values for clip_image002[15]
clip_image002[21]
when
clip_image002[17]
clip_image002[23]
when
clip_image002[25]
clip_image002[27]
when
clip_image002[29]
clip_image002[31]
when
clip_image002[33]
if you sum them from top to bottom
clip_image002[35]
Taking the sum of arithmetic series,
clip_image002[37]
Therefore,
clip_image002[39]
clip_image002[43]
clip_image002[45]
Special thanks to my friend Jayampathi Rathnayake (http://www.math.indiana.edu/people/profile.phtml?id=jratnaya) for his insight on the approach.

Another good resource http://www.trans4mind.com/personal_development/mathematics/series/sumNaturalSquares.htm

No comments :

Post a Comment

Drilling Straight with a Hand Drill

No comments

If you don’t have a drill guide like http://www.sears.com/shc/s/p_10153_12605_00967173000P?BV_UseBVCookie=Yes&vertical=TOOL&pid=00967173000 then drilling straight using a hand drill will be a pain and will often result angled holes.

Here’s a simple and elegant (though not precise) solution. You will need a square ruler like http://image.made-in-china.com/2f0j00tvREcekzhJbq/Angle-L-Square-Ruler.jpg. The trick is that all drills have visible center line. Use the square ruler to guide this in a straight line.

image

When you drill without a guide as shown above, the drill is free to move along both blue and red axes. You can restrict this by using it as shown below with the square ruler.

image

The square ruler has a flat edge, so when you keep it as above, it will stay perpendicular to the drilling surface. You can rotate the drill to have its center line and the square ruler to be in the same vertical plane as blue axis is. Then, with bit of patience, you can guide the drill while keeping the center line in the same plane. Still the drill is free to move in both directions, but you can use the ruler to guide it very well restricting any movement along red axis.

OK, what about movement along blue axis? This is where you need to have some practice. You can use your eyesight to keep the distance between drill bit and the vertical edge of the ruler constant while drilling to make sure you are not moving along blue axis.

As I said earlier, this is not perfect or highly precise, but when you don’t have any the fancy guiding tools, this works like a charm.

 

Image source for the drill, hand, and wooden piece http://en.wikipedia.org/wiki/File:Drill_scheme.svg

No comments :

Post a Comment