| 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: , |
|