Can someone help me with Evaluating Sums?

This is a discussion on Can someone help me with Evaluating Sums? within the Tech Board forums, part of the Community Boards category; Hello, I am currently working on a practice program in which I need to evaluate finite sums. Before I get ...

  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    244

    Can someone help me with Evaluating Sums?

    Hello,
    I am currently working on a practice program in which I need to evaluate finite sums.


    Before I get to coding this, I need to understand how to do it on paper...

    Can someone please show me how I would go about evaluating this for example:

    2n
    E i
    i=5


    Step by step would appreciated b/c I am quite new to this whole concept.

    Thanks in advance~!

  2. #2
    Password:
    Join Date
    Dec 2009
    Location
    NC
    Posts
    587
    number_of_terms/2(first_term + last_term)

    So the answer to the summation you posted would be (2n - 5)/2(5 + 2n).

    IMO, you're going about this backwards. In order to translate math into the form of statements that some language understands, you must first understand the math. Go learn how to find the sum of a finite series, then make your program.
    Last edited by User Name:; 09-26-2010 at 05:32 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Evaluating Sums?
    By matthayzon89 in forum C Programming
    Replies: 4
    Last Post: 09-27-2010, 01:48 PM
  2. Problems in evaluating postfix
    By P4R4N01D in forum C Programming
    Replies: 23
    Last Post: 12-24-2008, 10:47 PM
  3. if statement is evaluating incorrectly ...
    By Niss in forum C Programming
    Replies: 3
    Last Post: 09-12-2008, 05:39 PM
  4. Evaluating prefix/posfix short cut
    By Mister C in forum C++ Programming
    Replies: 3
    Last Post: 07-02-2004, 10:57 PM
  5. Evaluating strings
    By whitel1977 in forum C Programming
    Replies: 10
    Last Post: 11-23-2002, 07:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21