Plot resolution
- To: mathgroup at smc.vnet.net
- Subject: [mg65064] Plot resolution
- From: "Laurentiu Caramete" <laurentiu.caramete at googlemail.com>
- Date: Sun, 12 Mar 2006 23:59:52 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
I got a problem with a plot of a function. The function 'pressure' should
decrease monotonically with r. The Plot function is giving a non-monotonic
plot at big r, this is a problem with the resolution of the plot or with the
function? How can I check that?
\!\(Clear[r]\[IndentingNewLine]
\(ro = 10\^3;\)\[IndentingNewLine]
\(pressure =
p[r] /. \(DSolve[{D[p[r], r] ==
1\/\(\(r\^2\) \((1 + r)\)\^3\) -
Log[1 + r]\/\(\(r\^3\) \((1 + r)\)\^2\),
p[ro] == 10\^\(-7\)}, p[r],
r]\)[\([1]\)];\)\[IndentingNewLine]\[IndentingNewLine]
Plot[pressure, {r, ro, 10\^4}, PlotRange -> All]\)
Thanks
- Follow-Ups:
- Re: Plot resolution
- From: "Carl K. Woll" <carlw@wolfram.com>
- Re: Plot resolution