Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10210 > unrolled thread
| Started by | Bill Freed <billfreed@shaw.ca> |
|---|---|
| First post | 2012-05-25 08:55 +0000 |
| Last post | 2012-05-25 08:55 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
'Nother Inverse Function Question Bill Freed <billfreed@shaw.ca> - 2012-05-25 08:55 +0000
| From | Bill Freed <billfreed@shaw.ca> |
|---|---|
| Date | 2012-05-25 08:55 +0000 |
| Subject | 'Nother Inverse Function Question |
| Message-ID | <jpnhee$q8d$1@smc.vnet.net> |
Thanks for the previous hints on using InverseFunction. Will be helpful
for me.
I am working on parameterizing regions bounded by 4 curves in the plane
or 6 surfaces in 3D.
Below is an example for the region bounded by
x=2+1.2(2-y)^2, x=-3.2-1/3(y-1/3)^2
y=(-x/3)^3+x/2+2.5, y=(x/4)^3+1
Table[FindRoot[{x == s (2 + 1.2 (2 - y)^2) + (1 - s) (-3.2 - 1/3 (y -
1.3)^2),
y == t (-(x/3)^3 + x/2 + 2.5) + (1 - t) ((x/4)^3 + 1)}, {x, 0}, {y, 2}],
{s, 0, 1, .1}, {t, 0, 1, .1}];
x = ListInterpolation[x /. %, {{0, 1}, {0, 1}}];
y = ListInterpolation[y /. %%, {{0, 1}, {0, 1}}];
ParametricPlot3D[{x[s, t], y[s, t], 0}, {s, 0, 1}, {t, 0, 1}, ViewPoint
-> {0, 0, +Infinity},
Boxed -> False, Axes -> None, PlotPoints -> {25, 11}]
The problem with this homemade inverter is frequent error messages
concerning accuracy and convergence and also problems in choosing the
starting points, here {x,0}, {y,2}.
Is there a way of using InverseFunction or other Mathematica command
that is more robust?
Thanks
Bll Freed
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web