Mytutorfriend- Your friendly tutor

July 8, 2008

Easy Summation

Filed under: Algebra — mytutorfriend @ 11:29 pm
Tags: , ,

A formula that would sum all the numbers between two numbers, inclusive.


x is the smaller number of the two. y is the larger one.

This formula has the advantage that it can be used quickly for huge numbers of integers, such as databases and arrays.


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: