Re: the graphic of a function
- To: mathgroup at smc.vnet.net
- Subject: [mg92114] Re: the graphic of a function
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Sat, 20 Sep 2008 05:00:18 -0400 (EDT)
On 9/19/08 at 5:56 AM, edy13ro20000 at yahoo.com (Serg) wrote:
>i think i've asked this before. anyway, i am new in mathematica and
>i want how can I create the graphic of an exact function the same as
>I do for Sin[].
What do you mean by "exact function"? What have you tried?
>for example f(x)=x^2/(x+1)^2
You are aware the above is not an equality in Mathematica syntax
nor is the left side a function in Mathematica syntax right?
>can anyone help?
Any of
Plot[x^2/(x+1)^2 , {x,0,2}]
f=x^2/(x+1)^2
Plot[f, {x,0,2}]
g[x_]:=x^2/(x+1)^2
Plot[g[x], {x,0,2}]
will create a plot of x^2/(x+1)^2