The _13.5 is the usage from 14 required to reduce b to 0.
----- Original Message ----- From: Aai <[email protected]> Date: Wednesday, January 27, 2010 9:23 Subject: Re: [Jprogramming] Running Subtraction To: Programming forum <[email protected]> > Another manipulation that comes close > > -/`(-~/)@.(>&|/)"1 ] 2]\ b, b-+/\a > _10 _12 _14 16 18 > > Don't understand _13.5 though. > > > Hallo Alex Rufon, je schreef op 27-01-10 16:54: > > Hello. > > > > I solve this problem by doing it by brute force (with a loop) > but I was hoping it can be done without one. ☺ > > > > So you have the following data: > > [a=. 2 * 5 + i. 5 > > 10 12 14 16 18 > > [b=. 35.5 > > 35.5 > > > > I want to subtract a from b progressively until b is 0 so from > the data above I'll get the following results: > > _10 _12 _13.5 16 18 > > > > Any help is appreciated. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
