Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'functions' topicStudent Support Forum > General > "functions"

Next Comment >Help | Reply To Topic
Author Comment/Response
lenore
11/15/03 12:10pm

I tried plotting this:

f[x_] = (1 + 1/x)^x;
g[x_] = 2.7;
Plot[{f[x], g[x]}, {x, -10, 10},
   PlotStyle ->
      {RGBColor[0, 0, 0], RGBColor[1, 0, 0]}];

but since there is a vertical asymptote i got the error "x is not a machine size real number at ..."

and then it graphs the correct graph. any way i can make this work correctly?
thanks for any information.

URL: ,

Subject (listing for 'functions')
Author Date Posted
functions lenore 11/15/03 12:10pm
Re: functions Henry Lamb 11/18/03 00:04am
Next Comment >Help | Reply To Topic