home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   sci.math.symbolic      Symbolic algebra discussion      10,432 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,454 of 10,432   
   Dr Huang to asetof...@gmail.com   
   Re: [Axiom] define a rule   
   06 Jun 17 21:08:35   
   
   From: drhuang57@gmail.com   
      
   On Sunday, 4 June 2017 02:58:19 UTC+10, asetof...@gmail.com  wrote:   
   > I defined the follow rule in Axiom   
   >   
   > r:=rule(j*j==1)   
   >   
   > But in only this case found one not expected result   
   >   
   > r(-1+(j*j))   
   >   
   > return 1 instead of 0   
   > All other number I tried in the place of -1 are ok   
   >   
   > Where is the error?   
      
   It is easy to define rule in mathHandbook.com, e.g define integrate rule:   
   integrate(x_^n_,x_):=if(n== -1, log(x),x^(n+1)/(n+1))   
      
      
   reference math handbook   
   www.mathHandbook.com   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca