Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Problem using InequalityPlot' topicStudent Support Forum > General > "Problem using InequalityPlot"

Next Comment >Help | Reply To Topic
Author Comment/Response
Bonny
12/29/05 2:24pm

I am trying to plot the following inequalities:

a==(-p^2-q)/(-1+q),
b==(-2p)/(-1+q),
-0.5<=p<=0.5,
0<=q<=1

using the following command in Mathematica:

InequalityPlot[a == \(\(-p\^2\) -
q\)\/\(\(-1\) + q\) && b == \(-\(\(2\ p\)\/\(\(-1\) + q\)\)\) && \
\(-0.5`\) ≤ p ≤ 0.5` && 0 ≤ q ≤ 1, {a}, {b}]

The error message I am getting is:

\!\(InequalityPlot::"region" \(\(:\)\(\ \)\) "The region
defined by \!\(\(\(a \[Equal] \(\(\(-p\^2\)\) - q\)\/\(\(\(-1\)\) + q\)\)\
\) && \(\(b \[Equal] \(\(-\(\(\(2\\ p\)\/\(\(\(-1\)\) + q\)\)\)\)\)\)\) && \(\
\(\(\(-0.5`\)\) ≤ p ≤ 0.5`\)\) && \(\(0 ≤ q ≤ 1\)\)\) could not be broken \
down into cylinders."\)

I am not sure what is going wrong. Can someone please help? Also, is there any other way to accomplish the same task in Mathematica?

Thanks,
Bonny.

URL: ,

Subject (listing for 'Problem using InequalityPlot')
Author Date Posted
Problem using InequalityPlot Bonny 12/29/05 2:24pm
Re: Problem using InequalityPlot yehuda ben-s... 01/03/06 03:02am
Next Comment >Help | Reply To Topic