In the following plot, one of the two functions
{-par, par}
defined by
par = (2 + 3 Subscript[y, 3] -
9 (Subscript[y, 3])^2 + ((1 + 3 Subscript[y, 3])^2 (4 -
36 (Subscript[y, 1])^2 - 12 Subscript[y, 3] +
9 (Subscript[y, 3])^2))^(1/2))^(1/2)/(3 Sqrt[2]);
has an erroneously reduced domain:
Plot3D[{-par, par}, {Subscript[y, 3], -(1/3), 2/3},
{Subscript[y, 1], -(Subscript[y, 3] - 2/3)/2,
(Subscript[y, 3] - 2/3)/2}, BoxRatios -> Automatic]
When I replace the variables
{ Subscript[y, 1], Subscript[y, 3] }
by
{ a, b }
then the error disappears.
I am using Mathmatica 9 on Mac OS X
a[1]ora[2]. However I get the same domain error in the above plot when I replaceSubscript[y, 1]bya[1]andSubscript[y, 3]bya[2]. Help? How to use indexed variables in a general situation? – Stephan Apr 23 '15 at 07:05