MathGroup Archive 2008

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

Search the Archive

Re: Log(ln) Function + 2 Parameters + Greater

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89283] Re: Log(ln) Function + 2 Parameters + Greater
  • From: dh <dh at metrohm.ch>
  • Date: Tue, 3 Jun 2008 06:45:53 -0400 (EDT)
  • References: <g22tp5$ikl$1@smc.vnet.net>


Hi Felipe,

why are you not simply using an If[] statement:

If[a>0, Plot[...]]

hope this helps, Daniel



Felipe Mannshardt wrote:

> Hello,

> 

> i am having problem telling Mathematica to:

> 

> First Try,

> 

> Clear[x, f]

> f[x_] := x (a + Log[x])^2

> 

> a > 0

> Plot[f[x], {x, -5, 5}]

> 

> Second Try,

> 

> f[x_] := x (a + Log[x])^2

> 

> Plot[f[x], {x, -5, 5}] /.a-> a>0

> 

> 

> What i want is to tell Mathematica to draw a Graph of f[x] when a>0

> 

> Thanks for the help.

> 





-- 



Daniel Huber

Metrohm Ltd.

Oberdorfstr. 68

CH-9100 Herisau

Tel. +41 71 353 8585, Fax +41 71 353 8907

E-Mail:<mailto:dh at metrohm.com>

Internet:<http://www.metrohm.com>




  • Prev by Date: Re: Default location for Exported files?
  • Next by Date: Re: How to introduce a Functional with the results with Solve command?
  • Previous by thread: Log(ln) Function + 2 Parameters + Greater
  • Next by thread: Re: Log(ln) Function + 2 Parameters + Greater