Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: AW: Q: Simplify with "much less" assumptions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg35644] Re: AW: Q: Simplify with "much less" assumptions
  • From: phbrf at t-online.de (Peter Breitfeld)
  • Date: Wed, 24 Jul 2002 02:06:08 -0400 (EDT)
  • References: <ahivod$gn6$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Matthias.Bode at oppenheim.de schrieb:
> 
> Hello Heather,
> 
> try:
> 
> 1 + x^2 /. {x -> 0}
> 
> It will give you the 1 you wish.
> 
> Best regards,
> Matthias Bode.
> 
If you only want to neglect powers with exponent greater 1 you may use
the rule

In[1]:=regel=x^(n_/;n>1)->0

then

In[2]:=1 + x + x^2 + x^3 + x^1.5 + x^(7/4) + x^0.5 + x^(3/4)/.regel
Out[2]=1+x+x^0.5+x^(3/4)

Gruß Peter
-- 
=--=--=--=--=--=--=--=--=--=--=--=--=--= http://home.t-online.de/home/phbrf
 Peter Breitfeld, Bad Saulgau, Germany   Meinen GnuPG/PGP-5x Key gibts dort



  • Prev by Date: Re: Problem using a loop to generate data for Point function
  • Next by Date: Re: elementwise vector scalar subtraction
  • Previous by thread: Re: MatrixForm Oddity
  • Next by thread: AW: elementwise vector scalar subtraction