+ Reply to Thread
Results 1 to 15 of 15

suming up a function with a power

  1. #1
    Registered User
    Join Date
    10-19-2010
    Location
    Home
    MS-Off Ver
    Excel 2003
    Posts
    7

    suming up a function with a power

    Hi all, trying to do it already for a while and need your help.
    I have the following function
    (1.96)*0.98^(C52-1) which results in 1.84473632 (C52 is for now the number 4).
    how ever I would like to get the sum of the multiplications such as followed:
    1.96 *1.9208**1.882384*1.84473632= 13.07316491
    Can any1 please please help?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: suming up a function with a power

    Welcome to the forum

    I would like to get the sum of the multiplications such as followed:

    1.96 *1.9208**1.882384*1.84473632
    I don't see any addition in there ...
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-19-2010
    Location
    Home
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: suming up a function with a power

    Quote Originally Posted by shg View Post
    Welcome to the forum



    I don't see any addition in there ...

    well I guess I explained it a bit wrong, here we go again
    Assuming the following function : (1.96)*0.98^(C52-1)

    possible results (if C52 is 4) is:
    first 1.96 (power ^0)
    then 1.9208 (power (^1)
    then 1.882384 (^2)
    then 1.84473632 (^3)

    I would like to get them multiplied so cell A1 (for example) will be ,13.07316491
    1.96 *1.9208*1.882384*1.84473632= 13.07316491

  4. #4
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Re: suming up a function with a power

    Quote Originally Posted by snufkin View Post
    well I guess I explained it a bit wrong, here we go again
    Assuming the following function : (1.96)*0.98^(C52-1)

    possible results (if C52 is 4) is:
    first 1.96 (power ^0)
    then 1.9208 (power (^1)
    then 1.882384 (^2)
    then 1.84473632 (^3)

    I would like to get them multiplied so cell A1 (for example) will be ,13.07316491
    1.96 *1.9208*1.882384*1.84473632= 13.07316491
    This one is tricky. Google into rising factorial polynomials, you might get some answers like that and if you find a simplified algebraic expression, plug it into excel... Best I can do...
    Ron
    Knowledge is knowing that a tomato and pepper are fruits. Wisdom is knowing whether to put these in a fruit salad

    Kindly

    [1] Use code tags. Place "[code]" before the first line of code and "[/code"]" after the last line of code. Exclude quotation marks
    [2] Mark your post [SOLVED] if it has been answered satisfactorily by editing your original post in advanced mode.
    [3] Thank (using the little scale) those that provided useful help; its nice and its very well appreciated

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: suming up a function with a power

    Please Login or Register  to view this content.
    The formula in B1 MUST be confirmed with Ctrl+Shift+Enter; that's what makes the curly braces appear.

  6. #6
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: suming up a function with a power

    =1.96^B12*0.98^(((B12-1)^2+B12-1)/2)

    Since you have

    1.96x0.98^0* 1.96*0.98^1 .....

    it can be simplified to

    1.96^n x (0.98 ^ sum(1...n))


    since sum 1...n = (n^2+n)/2

    we can simplify to

    1.96^n * ((n^2+n)/2)

    or 1.96^2 /2 *(n^2+n)
    Last edited by squiggler47; 10-19-2010 at 02:14 PM. Reason: Edited formula
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  7. #7
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: suming up a function with a power

    Or even :-

    =EXP(1)^(0.683045826901185*C52-0.0101013536587597*C52^2)

  8. #8
    Registered User
    Join Date
    10-19-2010
    Location
    Home
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: suming up a function with a power

    Quote Originally Posted by shg View Post
    Please Login or Register  to view this content.
    The formula in B1 MUST be confirmed with Ctrl+Shift+Enter; that's what makes the curly braces appear.
    When I place, "=PRODUCT(1.96*0.98^(ROW(INDIRECT("1:" & A1)) - 1))" in B1, it stays on 1.96... :S

  9. #9
    Registered User
    Join Date
    10-19-2010
    Location
    Home
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: suming up a function with a power

    Quote Originally Posted by squiggler47 View Post
    Or even :-

    =EXP(1)^(0.683045826901185*C52-0.0101013536587597*C52^2)
    Worked like a charm... thanks

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: suming up a function with a power

    I agree with Squiggler that the formula can be simplified, but not with his result, I think ...

    Please Login or Register  to view this content.

  11. #11
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: suming up a function with a power

    @SHG


    Running your simplification yields :-

    (=1.96^B12*((B12^2-B12)/2)) 88.54734336

    whereas :-

    {=PRODUCT(1.96*0.98^(ROW(INDIRECT("1:" & B12)) - 1))}
    =1.96^B12*0.98^(((B12-1)^2+B12-1)/2)
    =EXP(1)^(0.683045826901185*B12-0.0101013536587597*B12^2)

    all give the correct result of 13.xxxxxxxxx


    i would never actually use the last one personally as it doesnt lend its self to change if the values change!

    I think somewhere this would lend its self to a financial function FV perhaps, perhaps if there was more background on what the formula was supposed to do!

  12. #12
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: suming up a function with a power

    The formula shown gives the result shown, Squiggler. I just copied it from the workbook.

  13. #13
    Registered User
    Join Date
    10-19-2010
    Location
    Home
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: suming up a function with a power and graphs

    Quote Originally Posted by shg View Post
    The formula shown gives the result shown, Squiggler. I just copied it from the workbook.
    hehe, you guys are great I have one more question so i'll keep it in this topic instead of making a new one.
    I have the following formula:

    = ((30+p/1000+g)(1+m/20)t-2n(n+4))(1+h/100))
    Each Variable, is located in a different cell...
    Is there a way in excel, to make a graph which illustrate this formula?

  14. #14
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: suming up a function with a power and graphs

    Different question, needs a different thread, you wont get any replies and probably will get an infraction from the moderators!

  15. #15
    Registered User
    Join Date
    10-19-2010
    Location
    Home
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: suming up a function with a power and graphs

    Quote Originally Posted by squiggler47 View Post
    Different question, needs a different thread, you wont get any replies and probably will get an infraction from the moderators!
    Sorry didn't mean to go against the rules....
    I have opened a new topic...
    http://www.excelforum.com/excel-gene...ml#post2403931

    How do I change this topic to "solved"?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1