I told my calculus students to avoid subtraction and division when using J. Instead of x-y use x+(-y) , instead of x%y use x*(%y) -- parentheses important.
--Kip Murray On May 12, 2016 11:30 PM, "Nollaig MacKenzie" <[email protected]> wrote: > This is probably not helpful right now, but I > have been trying to get myself to look for > places where I should be using ~, > > hoping eventually to find natural something like: > > Penalty1-~Score-Penalty2 > > On 2016.05.12 22:33:39, you, > the extraordinary Joe Bogner, spake thus: > > > So that's what the problem looks like without the blinders of status > > quo! Looks good, thanks > > > > On Thu, May 12, 2016 at 10:04 PM, Raul Miller <[email protected]> > wrote: > > > On Thu, May 12, 2016 at 9:21 PM, Joe Bogner <[email protected]> > wrote: > > >> How can this be applied to my subtraction issue? At the risk of > > >> sounding silly, is there any reasonable way to change the equation to > > >> read from right to left without parentheses? > > > > > > Score=: 100 > > > Penalty1=: _10 > > > Penalty2=: _20 > > > [ Total=: Score + Penalty1 + Penalty2 > > > > > -- > Nollaig MacKenzie > ftp://ftp.nollaig.ca/pub/pap/ > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
