MathGroup Archive 2008

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

Search the Archive

$Assumptions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92609] $Assumptions
  • From: Ruth Lazkoz Sáez <ruth.lazkoz at ehu.es>
  • Date: Wed, 8 Oct 2008 06:24:50 -0400 (EDT)

Dear all,

I seem to be unable to change some default options globally.

At the top of  my notebook I have

$Assumptions = {MaxRecursion -> 30, AccuracyGoal -> 10};

Then we I evaluate  NIntegrate[Exp[-x^2], {x, 20., 40.}]
I get 4.78196*10^-176

But if I  evaluate NIntegrate[Exp[-x^2], {x, 20., 40.}, MaxRecursion -> 30,
 AccuracyGoal -> 10]
I get quite a different value, 1.36703*10^-177

I had the same problem trying to change the options for fonts in plots, 
and then I had to add the options I wanted
in every plot, I mean evaluation something like $TextStyle ={whatever} 
before doing the plots did not work.

Hope you can help me. Thanks,

Ruth Lazkoz


  • Prev by Date: Re: Comparison between Mathematica and other
  • Next by Date: Re: Why is Mathematica assuming k==l and how do I make it not to?
  • Previous by thread: Re: genetic algorithms
  • Next by thread: Re: $Assumptions