These days, negative investment returns are expected and

(#~1=*) %1{::p. _90 30 40 20 10

1.05202

from the j-wiki financial phrases must be modified to allow these
negative returns:

(#~e.&(1,-1)@*)%1{::p._90 30 40 20 10

_0.512675 1.05202

leading to the problem of choosing the proper answer.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to