[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hard sums, easy formula



PureBytes Links

Trading Reference Links

In a message dated 10/26/01 10:49:03 AM Pacific Daylight Time, 
dali_11@xxxxxxxx writes:

<< Dear Lee,
 
 Like you I got hooked, The reason for me only was probably only to prove 
that I can solve. Because I will not have any use for this formula !
 
 The solution I found was: 
    Floor( 0.5 + 0.5*Sqrt(8.0*An/5.0 - 15.0) )
 
 And here are the derivation:
  >>

Hi Jon,

Thanks for sharing your solution.  Like you I also cannot see anything I'd 
use the formula for.  But somehow the 'problem' caused an 'itch' which needed 
to be 'scratched'!  I didn't get it done myself but then I'm old and don't 
run so fast anymore! <G>

I'm satisfied that your result does exactly what the fella who made the 
original post wanted to do.  Very nice.  I still don't agree with Mike 
Suesserott on the correctness of his proposed solution.  In addition to the 
problem I alluded to in my earlier post .... that his formula yielded a value 
for n which  consistently was too large by 4 contracts at the account values 
at which n should increment by one ....... I also found that his formula 
increments n roughly half way between the account values at which n SHOULD 
increment according to the recursive formula for An as a function of n.  So 
either I didn't implement his formula properly or he didn't quite get there. 
Your formula just spits out a new n where it's 'supposed' to!  <G>

Regards,

Lee Scharpen