Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10210

'Nother Inverse Function Question

From Bill Freed <billfreed@shaw.ca>
Newsgroups comp.soft-sys.math.mathematica
Subject 'Nother Inverse Function Question
Date 2012-05-25 08:55 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jpnhee$q8d$1@smc.vnet.net> (permalink)

Show all headers | View raw


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 comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

'Nother Inverse Function Question Bill Freed <billfreed@shaw.ca> - 2012-05-25 08:55 +0000

csiph-web