Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Advanced Probability and Statistics
Reply
 
Thread Tools Display Modes
  #1  
Old October 30th, 2009, 12:56 PM
Newbie
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
compressedair is on a distinguished road
Default Most efficient method to find this solution-

I've been trying to think of a better solution for this problem, so far it looks like I'm stuck running an arbitrarily long brute-force loop (or having to keep track of various 'statistics' on the variables over time, which doesn't help me much in a few cases), which I'm trying to find a way around.

These are the three key variables as initiated by a program;
A = 0.985, B = 0.0018, and C = 0.

For each moment in time I will perform the two following calculations:
C = C * A;
C = C + B;

The question is 'what value will C be where the decrement of A will cancel out the increment of B.'

For example, the solution to the above is: 0.1199999967, which occurs on the 1,142 iteration.
(0.1199999967 * 0.985) + 0.0018 = 0.1199999967

I want to find the point where C will stop increasing without having to employ brute-force.

Thanks,

Last edited by compressedair; October 31st, 2009 at 04:24 PM. Reason: Simplifying the question since an answer has been given.
Reply With Quote
Advertisement
 
  #2  
Old October 30th, 2009, 01:29 PM
Newbie
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
compressedair is on a distinguished road
Default

Just a quick thought, maybe deciding on a limit for C ahead of time and how many iterations I would like for C to work through before reaching said limit, then derive A and B from that? Probably not easier... hrm. Lol, arrrgggh!
Reply With Quote
  #3  
Old October 30th, 2009, 01:34 PM
CaptainBlack's Avatar
Grand Panjandrum
 
Join Date: Nov 2005
Location: South of England
Posts: 12,258
Country:
Thanks: 776
Thanked 3,982 Times in 3,214 Posts
CaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond repute
Default

Quote:
Originally Posted by compressedair View Post
Just a quick thought, maybe deciding on C ahead of time and how many iterations I would like for C to work through before reaching its limit, then derive A and B from that? Probably not easier... hrm. Lol, arrrgggh!
The final limiting value of C if it exists is:

C=\frac{B}{1-A}

CB
__________________
Truth does not change because it is, or is not, believed by a majority of the people.

Giordano Bruno
Reply With Quote
  #4  
Old October 31st, 2009, 03:15 PM
Newbie
 
Join Date: Oct 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
compressedair is on a distinguished road
Default

Damn, can't believe I couldn't realize it should have been 1-A, ... well that's annoying. :\

Oh well, thanks a bunch, :]

Last edited by compressedair; October 31st, 2009 at 04:30 PM. Reason: m --> r
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 08:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.