Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Manipulate[] concurrent sliders

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90960] Manipulate[] concurrent sliders
  • From: roby.nowak at gmail.com
  • Date: Fri, 1 Aug 2008 02:58:05 -0400 (EDT)

Dear all,

the Manipulate[] below calculates x^2.
one can slide x to get y=x^2.

But you can not slide y to get Sqrt[y].

I understand the behaviour, the expression just assigns y with x^2 and
the prior value of y is lost, that is the reason why the code doesn't
work.

How can this be fixed within one single Manipulate[] ?


any suggestions ?
thanks !


Manipulate[
 y = x^2;
 x = Sqrt[y];
 {x, y},

 {x, 0, 10},
 {y, 0, 100}
 ]


  • Prev by Date: Colors in Plot[]
  • Next by Date: Re: When is a List not a List?
  • Previous by thread: Re: Colors in Plot[]
  • Next by thread: Re: When is a List not a List?